Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-22-2001, 06:03 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
::need help::

How can i get this to show the players # of darts ?
NPC Code:

// NPC made by Nyght *Asst* (LAT Admin)
hide;
if (playerenters && !hasstats) {
toweapons -stats;
set hasstats;
}
if (created) {
showstats 1;
showstats 2;
showstats 4;
showstats 8;
showstats 16;
showstats 32;
showstats 64;
showstats 128;
showstats 256;
showstats 512;
showstats 1024;
showimg 521,norin_stats.gif,440,5;
changeimgvis 521,4;
changeimgpart 521,0,0,193,94;
}
// Setting Max Quantities
if (!maxarrows=50 || !maxarrows=99) {
setstring maxarrows,25;
}
if (strcontains(25,#s(maxarrows))) {
showimg 523,@verdana@<Players Dart Count>/25,486,65;
changeimgvis 523,4;
changeimgzoom 523,0.85;
changeimgcolors 523,0,0,0,1;
}

// Arrows
if (playerdarts>=26 && strcontains(25,#s(maxarrows))) {
playerdarts = 25;
}


Any help would be awesome !
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.