Quote:
Originally Posted by DarthMan
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(id, pev_nextthink, get_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_Respawn, id)
Like I said I haven't tested them too much, so your best bet is to test them and experiment yourself.
__________________