amx_extendmap adds minutes to mp_timelimit; players can vote once per map to extend, capped so a map cannot run forever.
CSB Extend Map covers both ways a map gets stretched: an admin command and a player vote. amx_extendmap [minutes] adds time to mp_timelimit and re-announces the new time left; say /extend opens a yes/no vote to everyone on the server, and if it passes the map is extended by a configurable amount. A csb_extend_max cap counts every extension so a busy map can never be kept alive indefinitely.
Inspired by the map-extension commands in the AMX Mod X map management plugin. Independent GPL re-implementation.
Features
amx_extendmap [minutes]— defaults tocsb_extend_minuteswhen no argument is given.say /extendstarts a 15-second vote menu shown to every player.- Extension counter enforced against
csb_extend_maxfor both the command path and the vote path. - Reads
mp_timelimitthrough a cached cvar pointer and re-broadcastsget_timeleft().
Installation
- Compile
csb_extend_map.smaand copy it toaddons/amxmodx/plugins/. - Add it to
plugins.iniand change the map.
No extra modules are required. amx_extendmap needs the ADMIN_MAP flag (e).









