turbo_room,122,110,3 script Vote Converter 504,{
mes "^0000EE [Comelec Assistant] ^000000";
mes "Hello!";
mes "You've Total Cash Points ^EE0000"+#CASHPOINTS+"^000000 Cash Points.";
if( select("Convert to Cash Points:Cancel") == 1 ){
query_sql("SELECT `value` FROM `global_reg_value` WHERE account_id='"+getcharid(3)+"' LIMIT 1",.@points);
set #CASHPOINTS,#CASHPOINTS + .@points;
query_sql("UPDATE `global_reg_value` SET value=0 WHERE account_id='"+getcharid(3)+"'");
dispbottom " Gained "+.@points+" Points . Total Cash Points "+#CASHPOINTS+" Points.";
}
close;
}
i want that NPC to be exchange the vote points for conver mirror,field manual,job manual,kafra pass, bubble gum , advance field manual, advance job manual
i already modified it before but when i talk to npc the npc said that i dont have vote points
but on flux vote i already have 50 points please help me out
Question
Quesooo
Good day again rathena
Please help me modify this script
turbo_room,122,110,3 script Vote Converter 504,{ mes "^0000EE [Comelec Assistant] ^000000"; mes "Hello!"; mes "You've Total Cash Points ^EE0000"+#CASHPOINTS+"^000000 Cash Points."; if( select("Convert to Cash Points:Cancel") == 1 ){ query_sql("SELECT `value` FROM `global_reg_value` WHERE account_id='"+getcharid(3)+"' LIMIT 1",.@points); set #CASHPOINTS,#CASHPOINTS + .@points; query_sql("UPDATE `global_reg_value` SET value=0 WHERE account_id='"+getcharid(3)+"'"); dispbottom " Gained "+.@points+" Points . Total Cash Points "+#CASHPOINTS+" Points."; } close; }
i want that NPC to be exchange the vote points for conver mirror,field manual,job manual,kafra pass, bubble gum , advance field manual, advance job manual
i already modified it before but when i talk to npc the npc said that i dont have vote points
but on flux vote i already have 50 points please help me out
thank you
Link to comment
Share on other sites
23 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.