View Single Post
ddd123
Senior Member
Join Date: May 2021
Old 09-28-2021 , 22:40   Re: [L4D2] Slow down the mob horde spawn and SI respawn time
Reply With Quote #7

Quote:
Originally Posted by Silvers View Post
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.
I'm sorry, i'm not really a big coder but how do i use Left4DHook's forwards and natives?
Do i need to make new plugins/smx/sp and use those codes in order to use?

Last edited by ddd123; 09-28-2021 at 22:41.
ddd123 is offline