Med.Achref Posted July 28, 2013 Share Posted July 28, 2013 Hey guys , I spend 18 months playing in a server called MgC DD/DM and in that server they have a different type of voting system like when we vote There are only Dm maps and when that map ends the voting become only for DD maps after that DM maps and it repeats like that ! And now i just finished my server and i want to that so can anyone help me please Yours Med.Achref (MTA Name:G#OstR!der) Link to comment
Bssol Posted July 28, 2013 Share Posted July 28, 2013 hmmm, I don't play race but i think the idea is to create two tables the first table contains all DM maps, and the second table contains all DD maps. then you have to make a boolean variable, true if DM and false if DD example: theState = true -- we considered 'true' as DM each time the game ends, you have to change the value like this theState = not theState if the variable is 'true' you choose 9 maps from the DM maps table otherwise you choose 9 maps from the DD maps table and then plug them into this function to start voting exports["votemanager"]:voteBetweenMaps ( resource map1, resource map2, [ resource map3, ... ] ) I think this is the idea. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now