From 1aaadd4c75a4d93055bf37ae58502dd7d1f896b2 Mon Sep 17 00:00:00 2001 From: dogan Date: Fri, 28 Aug 2020 15:56:41 +0200 Subject: [PATCH] CashManager: another small fix --- CashManager/scripting/CashManager.sp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CashManager/scripting/CashManager.sp b/CashManager/scripting/CashManager.sp index 7fb03168..2159dca5 100644 --- a/CashManager/scripting/CashManager.sp +++ b/CashManager/scripting/CashManager.sp @@ -370,6 +370,9 @@ public Action EventHook_PlayerSpawn(Event hEvent, const char[] sEventName, bool public void RequestFrame_Callback(int client) { + if(!IsValidClient(client)) + return; + if(g_cvarCashRoundReset.BoolValue) { SetEntProp(client, Prop_Send, "m_iAccount", g_cvarStartCash.IntValue);