How do you use the voting system with maps??? How does voting even work in scripting?! Could somebody explain to me please?
Well there are different types of voting techniques. GUI voting, Touch Voting, and Chat Voting. THIS IS HOW I WOULD DO IT.
There are variables for every map. There is a boolean in the player named CanVote and is set to true to all players when the voting sequence commences. When the player clicks or chats whatever map is there to choose from, it checks for if its CanVote boolean is true and if it is it adds +1 to a numbervalue in the map named "Votes" then their CanVote is set to false. Otherwise it doesn't add it.
Add the end of the voting session the check all variables to see which is the highest. The highest gets picked and the map is loaded. Players are then teleported to the map.
+1 ME FOR DIS LONG PARAGRAPH :D