View Single Post
Lo6idZe
Member
Join Date: May 2008
Old 03-28-2009 , 10:36   Re: Load/Unload Plugin for specific maps
Reply With Quote #4

Code:
#include <amxmodx>

new const PLUGIN[] = "Nothing"
new const VERSION[] = "0.0"
new const AUTHOR[] = "Lo6idZe(KIL)"

public plugin_init() 
{
        register_plugin(PLUGIN, VERSION, AUTHOR)
    
        new mapname[32]
        get_mapname(mapname,31)
        
        if(equali(mapname,"yourmap"))
        server_cmd("amxx pause plugname") 
}
Lo6idZe is offline