Store a value in their character file that says that they already voted. To introduce another vote, reset everyone's numbers to 0 with a command. .
|
Store a value in their character file that says that they already voted. To introduce another vote, reset everyone's numbers to 0 with a command. .
he means add a integer when they vote it goes to 1 then save it in their character file
Find how your server stores the username, password, and stats. Add a new add-in for the voteCount, or alreadyVoted made up variable and store it with them. Then when you want to do a new vote, resets everyone's variable to the opposite so it's as if they haven't voted yet, enabling you to have more votes.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |