KnifeMadness: replace the bool
Death Event is pre, that's why it breaks shit. New Place right after force suicide
This commit is contained in:
parent
128a0e355d
commit
20310b11ec
@ -66,7 +66,6 @@ public Action OnClientDeath(Event hEvent, const char[] sEvent, bool bDontBroadca
|
|||||||
return Plugin_Handled;
|
return Plugin_Handled;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_bClientKnifed[client] = false;
|
|
||||||
return Plugin_Continue;
|
return Plugin_Continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -153,6 +152,7 @@ public Action KillZM(Handle timer, DataPack pack)
|
|||||||
|
|
||||||
g_bSupressDeath[client] = true;
|
g_bSupressDeath[client] = true;
|
||||||
ForcePlayerSuicide(client);
|
ForcePlayerSuicide(client);
|
||||||
|
g_bClientKnifed[client] = false;
|
||||||
|
|
||||||
if (!(IsValidClient(attacker, false)))
|
if (!(IsValidClient(attacker, false)))
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user