hlstatsx: add late load support.
This commit is contained in:
parent
7545e6f771
commit
7f5635ac02
@ -55,6 +55,15 @@ public void OnPluginStart()
|
|||||||
HookEvent("player_spawn", OnClientSpawn, EventHookMode_Pre);
|
HookEvent("player_spawn", OnClientSpawn, EventHookMode_Pre);
|
||||||
HookEvent("player_death", OnClientDeath, EventHookMode_Pre);
|
HookEvent("player_death", OnClientDeath, EventHookMode_Pre);
|
||||||
|
|
||||||
|
for (int client = 1; client <= MaxClients; client++)
|
||||||
|
{
|
||||||
|
if (IsValidClient(client))
|
||||||
|
{
|
||||||
|
g_bIsHuman[client] = ZR_IsClientHuman(client);
|
||||||
|
g_bIsZombie[client] = ZR_IsClientZombie(client);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
AutoExecConfig();
|
AutoExecConfig();
|
||||||
GetTeams();
|
GetTeams();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user