From 0c35ff8841be333d502cce9933a8bbf4aec0b36c Mon Sep 17 00:00:00 2001 From: dogan Date: Sat, 8 Aug 2020 18:58:25 +0200 Subject: [PATCH] ZombieManager: block sm_mzombie from console --- ZombieManager/scripting/ZombieManager.sp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ZombieManager/scripting/ZombieManager.sp b/ZombieManager/scripting/ZombieManager.sp index c877d72..58bfaf1 100644 --- a/ZombieManager/scripting/ZombieManager.sp +++ b/ZombieManager/scripting/ZombieManager.sp @@ -289,6 +289,12 @@ public bool Filter_Motherzombies(const char[] sPattern, Handle hClients, int cli public Action Command_DisplayMotherzombies(int client, int args) { + if(client == 0) + { + ReplyToCommand(client, "[SM] Cannot use this from console."); + return Plugin_Handled; + } + char aBuf[1024]; char aBuf2[MAX_NAME_LENGTH];