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

Add the command `gal_votemap` #48

Closed evandrocoan closed 7 years ago

evandrocoan commented 7 years ago

Add the command gal_votemap

It will receive a list of maps and will to perform a map voting as if it was an automatic or forced one. The only difference would be the maps it will use. Instead of random, they will the the maps passed to the command gal_votemap map1 map2 map3 ... map9.

Here the max voting maps will be not considered and the voting can be from 2 until 9 maps, if provided. Also do not forget to check whether they are a valid map.

Also add the command say galmenu (admin MAP level required) to choose from the loaded server maps, maps to create a map voting by a menu. Consider here the nomination file list as maps source to build up the menu.

Also add the page as entry command for the galmenu, example: say galmenu 50 opens the menu at the page 50


New command gal_changelevel

To immediately change level to the current map at the cvar nextmap. Also use this command functionality on the gal_votemap final menu.