forked from UNLOZE/sm-plugins
CashManager: another small fix
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user