Hello guys, I am trying to add a Donation Npc. I succesfully did the easy parts but now that I want to make it to show how many Donation points do the player has and I am not able to do it.
mes "How many eKoins do you want to exchange?";
mes "^0000FF 1 eKoin = 100 Donation Points^000000";
input .@amount;
if (.@amount == 0) {
mes "[^0000FFDonation-Vote Girl^000000]";
mes "Please input a number higher than 0.";
close;
}
else{
set #DONATIONPOINTS, #DONATIONPOINTS+.@amount*100;
delitem 26000,.@amount;
mes "Here you go!";
close;
-----> mes "Available Amount : "+ValueConvert( getd(#DONATIONPOINTS) )+"^000000";
}
I tried that instruction with the arrow to make it work (and others), but they just dont work =/
Btw, anything that could make easier/better this code or any suggestion would be appreciated =)
Question
eKoh
Hello guys, I am trying to add a Donation Npc. I succesfully did the easy parts but now that I want to make it to show how many Donation points do the player has and I am not able to do it.
I tried that instruction with the arrow to make it work (and others), but they just dont work =/
Btw, anything that could make easier/better this code or any suggestion would be appreciated =)
cmon guys, I really need help =/
Edited by eKohLink to comment
Share on other sites
3 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.