plugins/nextmap.sp
changeset 2470 0ff02108615a
parent 2289 44045ead61cd
child 2499 74021fa74512
     1.1 --- a/plugins/nextmap.sp	Tue Dec 16 21:04:03 2008 -0600
     1.2 +++ b/plugins/nextmap.sp	Sun Dec 28 03:15:15 2008 -0500
     1.3 @@ -54,6 +54,15 @@
     1.4   
     1.5  public OnPluginStart()
     1.6  {
     1.7 +	decl String:desc[128];
     1.8 +	GetGameDescription(desc, sizeof(desc));
     1.9 +
    1.10 +	if(strcmp(desc, "Left 4 Dead", false))
    1.11 +	{
    1.12 +		SetFailState("The 'nextmap' plugin is not supported on Left 4 Dead.");
    1.13 +		return;
    1.14 +	}
    1.15 +
    1.16  	LoadTranslations("common.phrases");
    1.17  	LoadTranslations("nextmap.phrases");
    1.18