From ed681ea8106635cd97548b83625d0518db8affd8 Mon Sep 17 00:00:00 2001 From: neon <> Date: Thu, 22 Aug 2019 11:47:44 +0200 Subject: [PATCH] Turret: oops --- Turret/scripting/Turret.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Turret/scripting/Turret.sp b/Turret/scripting/Turret.sp index 30f2f2ca..18ef178f 100644 --- a/Turret/scripting/Turret.sp +++ b/Turret/scripting/Turret.sp @@ -130,7 +130,7 @@ public void OnRound(Event hEvent, const char[] sEvent, bool bDontBroadcast) //---------------------------------------------------------------------------------------------------- public Action Command_Turret(int client, int args) { - if (!ZR_IsClientHuman(client)) + if (!(IsPlayerAlive(client) && ZR_IsClientHuman(client))) { ReplyToCommand(client, "[ZR] You need to be human to use this command."); return Plugin_Handled;