addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt1.7 KB
No file matches.
Admin Map Change Menu 1.0.0 (olds.ro)
=====================================
Admins pick the next map from a menu built from the map cycle, and change
now or at the end of the round.
Requirements
- AMX Mod X 1.10.0.5490 or newer
- ReGameDLL_CS and ReAPI (RG_RoundEnd)
Install
1. Compile scripting/olds_mapmenu.sma and copy olds_mapmenu.amxx to
addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
2. Copy data/lang/olds_mapmenu.txt to addons/amxmodx/data/lang/.
Settings (addons/amxmodx/configs/plugins/olds_mapmenu.cfg, created on first run)
olds_mapmenu_delay 5 seconds before the level changes (0-60)
olds_mapmenu_endround 1 1 = the menu starts in "at round end" mode
The map list
Read at map start from the file named by the mapcyclefile cvar (usually
mapcycle.txt) with read_file. "//" starts a comment; a ".bsp" ending is
dropped; every map is checked with is_map_valid. Missing maps, names with
odd characters and duplicates are skipped (the log says which).
Admin (ADMIN_MAP)
amx_mapmenu open the menu (7 per page). Item 1 switches
between "now" and "at round end"
amx_mapmenu <map> [now|endround] the same from the console
amx_mapmenu cancel drop a pending change
From the server console amx_mapmenu with no argument lists the maps.
The change
Now: a chat line announces it and the level changes after
olds_mapmenu_delay seconds. At round end: announced now, and when the
round ends (RG_RoundEnd) the level changes after the same delay. A newer
choice replaces a pending one. log_amx records the admin's name and
SteamID with the map.
No downloads.