evandrocoan / MultiModServer

It is a Multi-Mod plugin's configurations for Amx Mod X - https://forums.alliedmods.net/showthread.php?t=273018
GNU General Public License v3.0
17 stars 17 forks source link

Limit the maximum voting time start #8

Closed evandrocoan closed 7 years ago

evandrocoan commented 7 years ago

Limit the maximum voting time start

[QUOTE]gal_endofmapvote_start 1 --> So, set it to 0 to start the map voting exactly about 2 minutes and 15 seconds. Now look, the voting will to start and take about 1 minute to finish, depending on your vote time and if there is runoff or not. [/QUOTE]

Fix this, limit the maximum time the voting time (gal_vote_duration) + the runoff time (gal_runoff_duration) may be set, so they cannot be set above 1 minutes and 30 seconds.

evandrocoan commented 7 years ago

It was solved by the above commit, calculating how much time the voting takes, then starting the end map voting in base on it total time.