diff --git a/plugins/nextmap.sp b/plugins/nextmap.sp index 5d724bf3..280d180b 100644 --- a/plugins/nextmap.sp +++ b/plugins/nextmap.sp @@ -54,6 +54,15 @@ new g_CurrentMapStartTime; public OnPluginStart() { + decl String:desc[128]; + GetGameDescription(desc, sizeof(desc)); + + if(strcmp(desc, "Left 4 Dead", false)) + { + SetFailState("The 'nextmap' plugin is not supported on Left 4 Dead."); + return; + } + LoadTranslations("common.phrases"); LoadTranslations("nextmap.phrases");