Add late load support.
This commit is contained in:
parent
6f30bfb4aa
commit
1e1cd1b2ac
@ -80,6 +80,15 @@ public void OnPluginStart()
|
|||||||
|
|
||||||
RegConsoleCmd("sm_restrictions", Command_DisplayRestrictions);
|
RegConsoleCmd("sm_restrictions", Command_DisplayRestrictions);
|
||||||
RegConsoleCmd("sm_status", Command_DisplayStatus);
|
RegConsoleCmd("sm_status", Command_DisplayStatus);
|
||||||
|
|
||||||
|
for (int client = 1; client <= MaxClients; client++)
|
||||||
|
{
|
||||||
|
if (IsClientConnected(client)
|
||||||
|
OnClientPutInServer(client);
|
||||||
|
|
||||||
|
if (AreClientCookiesCached(client)
|
||||||
|
OnClientCookiesCached(client);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user