CashManager: another small fix
This commit is contained in:
parent
0962192064
commit
1aaadd4c75
@ -370,6 +370,9 @@ public Action EventHook_PlayerSpawn(Event hEvent, const char[] sEventName, bool
|
|||||||
|
|
||||||
public void RequestFrame_Callback(int client)
|
public void RequestFrame_Callback(int client)
|
||||||
{
|
{
|
||||||
|
if(!IsValidClient(client))
|
||||||
|
return;
|
||||||
|
|
||||||
if(g_cvarCashRoundReset.BoolValue)
|
if(g_cvarCashRoundReset.BoolValue)
|
||||||
{
|
{
|
||||||
SetEntProp(client, Prop_Send, "m_iAccount", g_cvarStartCash.IntValue);
|
SetEntProp(client, Prop_Send, "m_iAccount", g_cvarStartCash.IntValue);
|
||||||
|
Loading…
Reference in New Issue
Block a user