View Single Post
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 05-20-2018 , 08:16   Re: Hook damage that will kill the player
Reply With Quote #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.
__________________

Last edited by Neuro Toxin; 05-20-2018 at 08:18.
Neuro Toxin is offline