View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 02-15-2018 , 09:54   Re: Detect if player killed by water ?
Reply With Quote #6

Quote:
Originally Posted by Relaxing View Post
That will also count when he got killed by an enemy underwater.
He wants to catch when player takes DMG_DROWN damage.
Right, did not think about that. Then hooking TakeDamage and checking user health + DMG_DROWN should work.
__________________

Last edited by HamletEagle; 02-15-2018 at 09:54.
HamletEagle is offline