I become a error on the mapserver when starting the npc :
Line : set @balance,query_sql("SELECT `balance` FROM `cp_credits` where `account_id` = "+ getcharid(3));
Error : getarg: no callfunc or callsub!
L_Start2:
next;
mes @npcname$;
mes "Super, ich gebe dir dann "+ @coupons+" Donation Credit(s)!";
set @balance,query_sql("SELECT `balance` FROM `cp_credits` where `account_id` = "+ getcharid(3));
set @balance,@balance + @coupons;
query_sql("UPDATE `cp_credits` SET `balance` = "+@balance+" where `account_id` = "+ getcharid(3));
delitem @couponid,@coupons;
next;
mes @npcname$;
mes "Danke nochmal, weiterhin viel Spass auf Black-Knight-RO!";
close;
Edited by Capuche Change the title to a more informative one
Question
Oraios
Hi community,
I become a error on the mapserver when starting the npc :
Line : set @balance,query_sql("SELECT `balance` FROM `cp_credits` where `account_id` = "+ getcharid(3));
Error : getarg: no callfunc or callsub!
Change the title to a more informative one
Link to comment
Share on other sites
4 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.