Search the Community
Showing results for tags 'wide'.
Found 1 result
-
Hi, I'm trying to make an NPC which players can donate zeny to, and the zeny count is for every player - as in when one player donates, it updates a tally for everyone else (stored in NPC). If I use .server_donate (as shown in example below), will it disappear when I restart my server? Thank you in advance. prontera,150,150,3 script Server Donation NPC 4_F_TELEPORTER,{ mes "Players have donated " + .server_donate + " zeny."; mes "How much zeny do you want to donate?"; next; input .@donate; if (Zeny < .@donate) { mes "You need more zeny"; close; } else { Zeny -= .@donate; .server_donate += .@donate; mes "You donated " + .@donate + " z."; close; } }