mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-09 19:38:25 +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);
|
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++)
|
for(int i = 1; i < sizeof(gA_BotInfo); i++)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user