donkeyg Posted May 24, 2012 Group: Members Topic Count: 344 Topics Per Day: 0.07 Content Count: 1060 Reputation: 1 Joined: 02/13/12 Last Seen: November 14, 2016 Share 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 Link to comment Share on other sites More sharing options...
Bahmut Posted May 24, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 382 Reputation: 39 Joined: 01/17/12 Last Seen: February 13, 2020 Share 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 Link to comment Share on other sites More sharing options...
Question
donkeyg
here is the script.. how about sql? need edit anything??
bumppppppp
please... im totally newbie in scripting, someone would hgpel me please
Link to comment
Share on other sites
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.