View Single Post
neatek1
Member
Join Date: May 2011
Old 11-03-2011 , 04:29   Re: Disable plugin or command on different map
Reply With Quote #3

PHP Code:
public OnMapStart() 

    new 
String:MapName[128];
    
GetCurrentMap(MapName128);
    if(
StrContains(MapName"de_dust2"false) == -1)
    {
        
ServerCommand("sm plugins unload plugin.smx");
        
ServerCommand("sv_gravity 800");
    }


Last edited by neatek1; 11-03-2011 at 04:29.
neatek1 is offline