Thread
:
Hook damage that will kill the player
View Single Post
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
05-20-2018 , 08:16 Re: Hook damage that will kill the player
#
4
You should use the SDKHooks_OnTakeDamage
_Alive
hook for this
The player is still alive during this hook. Just check the players health netprop and compare to the damage parameter in the hook.
Here
is an example of the hook.
__________________
Donate
|
AUS-TG
|
Console
|
Dynamic Objects
Last edited by Neuro Toxin; 05-20-2018 at
08:18
.
Neuro Toxin
View Public Profile
Send a private message to Neuro Toxin
Visit Neuro Toxin's homepage!
Find More Posts by Neuro Toxin