Quote:
Originally Posted by Gabe Iggy
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.
|
I have tried ur suggestion, on spawn, respawn and also think, it didn't work on any of these cases sadly.
Maybe u can show me a complete example of how it's done in CS then I can update it to work with HL and GC?