For example if I want add/remove x Zeny from player in a script, i write something like this
HEALHP:
if (Zeny < 1) { //<--this
mes "[Wandering Arch Bishop]";
mes "Sorry you do not have enough Zeny!";
mes "Come back when you can affort it.";
close;
} else {
mes "[Wandering Arch Bishop]";
mes "Here you go, back to full Health!";
close2;
Zeny -= 1; //<-- this
percentheal 100, 0;
end;
}
Ok, my question is: and if i want to use cash points instead of zeny?? What is the correct syntax in that case?
Hi, i have a little question...
For example if I want add/remove x Zeny from player in a script, i write something like this
HEALHP:
if (Zeny < 1) { //<--this
mes "[Wandering Arch Bishop]";
mes "Sorry you do not have enough Zeny!";
mes "Come back when you can affort it.";
close;
} else {
mes "[Wandering Arch Bishop]";
mes "Here you go, back to full Health!";
close2;
Zeny -= 1; //<-- this
percentheal 100, 0;
end;
}
Ok, my question is: and if i want to use cash points instead of zeny?? What is the correct syntax in that case?
thanks in advance
Share this post
Link to post
Share on other sites