Jump to content
  • 0

@request complete vote4points script


donkeyg

Question


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

 - 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

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  382
  • Reputation:   38
  • Joined:  01/17/12
  • Last Seen:  

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/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...