Raised This Month: $ Target: $400
 0% 

[H3LP] Weapon Respawn Time


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 04-20-2017 , 14:21   Re: [H3LP] Weapon Respawn Time
Reply With Quote #7

Quote:
Originally Posted by DarthMan View Post
Ik, maybe with an enumeration it will check for all?
Just try with the stuff I recommended you, unless the game you want to mod is CS you won't get more help than this.

(Assuming the weapon is grabbed and not respawned)
PHP Code:
set_pev(idpev_nextthinkget_gametime()+n
n being the delay to respawn


Another more reliable way is to hook Ham_Respawn like I told you, then set a timer to execute
PHP Code:
ExecuteHamB(Ham_Respawnid
Like I said I haven't tested them too much, so your best bet is to test them and experiment yourself.
__________________

Last edited by gabuch2; 04-20-2017 at 14:23.
gabuch2 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 18:00.


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