mes "[ ^336699Coin Master^000000 ]";
mes "How many coins would you like?";
set @mamount,0;
input @mamount;
if (zeny < 0) goto L_No;
if (zeny < (10000000* @mamount)) goto L_No;
if (checkweight(677,@mamount) == 0 ) goto L_OW;
set dcoins, @mamount;
set dcoins2, (dcoins2 + (@mamount)); //<-------------------- This Line
set Zeny,(zeny - (10000000* @mamount));
getitem 677,@mamount;
goto L_Thanks;
I want to limit the coin exchange of my server for only 50 per day, how can i reset the "set dcoins2" for every player every "OnClock0000:".
Question
dantoki
mes "[ ^336699Coin Master^000000 ]"; mes "How many coins would you like?"; set @mamount,0; input @mamount; if (zeny < 0) goto L_No; if (zeny < (10000000* @mamount)) goto L_No; if (checkweight(677,@mamount) == 0 ) goto L_OW; set dcoins, @mamount; set dcoins2, (dcoins2 + (@mamount)); //<-------------------- This Line set Zeny,(zeny - (10000000* @mamount)); getitem 677,@mamount; goto L_Thanks;
I want to limit the coin exchange of my server for only 50 per day, how can i reset the "set dcoins2" for every player every "OnClock0000:".
- script CoinsReset -1,{ OnInit: OnClock0000: //12am set dcoins2, 0; }
Already try this code but it doesn't work. TIA ♥
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.