donkeyg Posted May 24, 2012 Posted May 24, 2012 - script Convertvotepoint -1,{ OnPCLoginEvent: query_sql ("SELECT `point` FROM `vote_point` WHERE `loginname` = MD5('"+getcharid(3)+"')", @vote); if(@vote > 0){ set #CASHPOINTS, #CASHPOINTS + @vote; query_sql ("UPDATE `vote_point` SET `point` = `point` - '"+@vote+"' WHERE `loginname` = MD5('"+getcharid(3)+"')"); close; }else{ close; } } here is the script.. how about sql? need edit anything?? bumppppppp please... im totally newbie in scripting, someone would hgpel me please Quote
Bahmut Posted May 24, 2012 Posted May 24, 2012 What exactly are you requesting? For a vote for points system in your control panel go here: http://rathena.org/board/topic/64099-ceres-cp-addon-show-vote-points/ or http://rathena.org/board/topic/60640-fluxcp-addon-vote-for-points/ Quote
Question
donkeyg
here is the script.. how about sql? need edit anything??
bumppppppp
please... im totally newbie in scripting, someone would hgpel me please
1 answer 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.