Raised This Month: $ Target: $400
 0% 

[L4D2] Slow down the mob horde spawn and SI respawn time


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode