mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
shavit-replay-playback: hook triggers on late-load
This commit is contained in:
parent
4652e36cc6
commit
e35e835841
@ -503,6 +503,16 @@ public void OnPluginStart()
|
||||
{
|
||||
OnAdminMenuReady(gH_AdminMenu);
|
||||
}
|
||||
|
||||
for (int entity = MaxClients+1, last = GetMaxEntities(); entity <= last; ++entity)
|
||||
{
|
||||
if (IsValidEntity(entity))
|
||||
{
|
||||
char classname[64];
|
||||
GetEntityClassname(entity, classname, sizeof(classname));
|
||||
OnEntityCreated(entity, classname);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for(int i = 1; i < sizeof(gA_BotInfo); i++)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user