10.01.2016, 13:25
Hello im trying to make a simple map voting system for my cod server.
for example at the end of a round every player selects a map they want to play next.
Ive got this part of the script working perfectly.
Im just not sure how to count the votes. would it be possible to store the votes in a variable like
PlayerVotes[MAX_PLAYERS][MaxMaps]
Im confused in how to count the votes for different possible maps
any help would be appreciated
here what i have
http://pastebin.com/uJ9S8vk2
for example at the end of a round every player selects a map they want to play next.
Ive got this part of the script working perfectly.
Im just not sure how to count the votes. would it be possible to store the votes in a variable like
PlayerVotes[MAX_PLAYERS][MaxMaps]
Im confused in how to count the votes for different possible maps
any help would be appreciated
here what i have
http://pastebin.com/uJ9S8vk2