From 20310b11ec4d623b543db49cb92dac3a7a1fc504 Mon Sep 17 00:00:00 2001 From: Dogan Date: Fri, 8 Nov 2019 17:00:22 +0100 Subject: [PATCH] KnifeMadness: replace the bool Death Event is pre, that's why it breaks shit. New Place right after force suicide --- UNLOZE_KnifeMadness/scripting/UNLOZE_KnifeMadness.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UNLOZE_KnifeMadness/scripting/UNLOZE_KnifeMadness.sp b/UNLOZE_KnifeMadness/scripting/UNLOZE_KnifeMadness.sp index 0de86c73..147216b8 100644 --- a/UNLOZE_KnifeMadness/scripting/UNLOZE_KnifeMadness.sp +++ b/UNLOZE_KnifeMadness/scripting/UNLOZE_KnifeMadness.sp @@ -66,7 +66,6 @@ public Action OnClientDeath(Event hEvent, const char[] sEvent, bool bDontBroadca return Plugin_Handled; } - g_bClientKnifed[client] = false; return Plugin_Continue; } @@ -153,6 +152,7 @@ public Action KillZM(Handle timer, DataPack pack) g_bSupressDeath[client] = true; ForcePlayerSuicide(client); + g_bClientKnifed[client] = false; if (!(IsValidClient(attacker, false))) return;