plugins/basefuncommands.sp
changeset 1791 38e83ea09a24
parent 1788 6b5331ae47c4
child 1801 06ff8ce94b2b
     1.1 --- a/plugins/basefuncommands.sp	Fri Dec 14 05:09:29 2007 +0000
     1.2 +++ b/plugins/basefuncommands.sp	Fri Dec 14 05:54:36 2007 +0000
     1.3 @@ -50,6 +50,7 @@
     1.4  new Handle:hTopMenu = INVALID_HANDLE;
     1.5  
     1.6  new g_SlapDamage[MAXPLAYERS+1];
     1.7 +new bool:g_cstrike = false;
     1.8  
     1.9  #include "basefuncommands/slay.sp"
    1.10  #include "basefuncommands/burn.sp"
    1.11 @@ -73,6 +74,14 @@
    1.12  	{
    1.13  		OnAdminMenuReady(topmenu);
    1.14  	}
    1.15 +	
    1.16 +	decl String:folder[64];
    1.17 +	GetGameFolderName(folder, sizeof(folder));
    1.18 +	
    1.19 +	if (strcmp(folder, "cstrike") == 0)
    1.20 +	{
    1.21 +		g_cstrike = true;
    1.22 +	}
    1.23  }
    1.24  
    1.25  public OnMapStart()