You could use this
http://forums.alliedmods.net/showthr...=Buyzone+Range and include the script below somewhere(may have to be altered a little)
PHP Code:
#define MAX_MAPS 6
new Maps[MAX_MAPS][] = { //map names here.... used CS one's for an example
"cs_dust",
"de_office",
"de_dust2",
"awp_map",
"cs_assault"
}
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent("MapChange", 2, "0=World triggered", "1=Round_Start");
}
public MapChange(id) {
new map_name[32]
get_mapname(map_name,31)
for(new i = 0;i<MAX_MAPS;i++)
{
if(equal(map_name,Maps[i])
{
//do this
}
}
}
__________________