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);