Preventing death event take_damage
Posted: Tue May 22, 2018 2:29 am
When using take_damage it will cause two death notifications and fire player_death twice, once for each weapon. How do I prevent that?

I wouldn't mind preHooking on_take_damage and modifying damage, but I do not know how to access the attacker's information. The only information that seemed to be returned was the victim and damage information pointers.
Edit: The issue also seems to only occur on headshots.

I wouldn't mind preHooking on_take_damage and modifying damage, but I do not know how to access the attacker's information. The only information that seemed to be returned was the victim and damage information pointers.
Edit: The issue also seems to only occur on headshots.