hlstatsx: add late load support.

This commit is contained in:
zaCade 2018-12-03 17:15:20 +01:00
parent 7545e6f771
commit 7f5635ac02

View File

@ -55,6 +55,15 @@ public void OnPluginStart()
HookEvent("player_spawn", OnClientSpawn, 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();
GetTeams();
}