View Single Post
Gold Fish
Senior Member
Join Date: Mar 2020
Old 02-16-2022 , 06:48   Re: [L4D2] Slow down the mob horde spawn and SI respawn time
Reply With Quote #8

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.
Does this only apply to ordinary (common) zombies?
__________________
-

PHP Code:
public OnClientConnect(int Client) {
    
KickClient(Client"sorry");

Gold Fish is offline