I was trying to make a npc and had a problem when making a division ... count returns 0
prt_in,63,58,3 script test 826,{
set .price_R, 100000;
set .desc, 50;
mes "repair all?";
next;
if(select("- yes:- close")==1){
mes "ok";
set .price_R2, .price_R*(.desc/100);
set Zeny, Zeny - .price_R2;
atcommand "@repairall";
close;
}
else {close;}
}
Question
foxtux
I was trying to make a npc and had a problem when making a division ... count returns 0
.desc/100 >> Returns 0... how to solve this?
thks
Link to comment
Share on other sites
5 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.