This is The plugin
I created it for you
PHP Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "echo_cs"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_cvar("map_only", "1")
register_cvar("map_onlyname", "de_dust2")
server_cmd("mp_timelimit 0")
}
public server_changelevel()
{
new Map[50];
if(!get_cvar_num("map_only") )
return PLUGIN_CONTINUE
if(!get_cvar_string("map_onlyname", Map, charsmax(Map) ) )
return PLUGIN_CONTINUE
server_cmd("amx_map %s", Map);
server_cmd("mp_timelimit 0")
return PLUGIN_HANDLED
}
First: Download the MapOnly.amxx in addons/amxmodx/plugins
Second :Open addons/amxmodx/config/plugin.ini and add this MapOnly.amxx in the end