View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-28-2021 , 22:45   Re: [L4D2] Slow down the mob horde spawn and SI respawn time
Reply With Quote #6

Left4DHooks has:

PHP Code:
// Forwards:
forward Action L4D_OnMobRushStart();
forward Action L4D_OnSpawnITMob(int &amount);
forward Action L4D_OnSpawnMob(int &amount);

// Natives: 
native void L4D_ResetMobTimer();
native int L4D2Direct_GetPendingMobCount();
native void L4D2Direct_SetPendingMobCount(int count);
native CountdownTimer L4D2Direct_GetMobSpawnTimer();
L4D2_CTimerGetRemainingTime(L4D2CT_MobSpawnTimer);
L4D2_CTimerInvalidate(L4D2CT_MobSpawnTimer); 
Can use the forwards to then call the natives or change the mob amount etc. Depending on what you want.
__________________
Silvers is offline