Detect if player killed by water ?
Hello, I hope everyone is fine.
Is there a way to Detect if player killed by water ? |
Re: Detect if player killed by water ?
Hook Ham_Killed and check for pev_waterlevel > 0. I don't think player can not be in water if he was killed by water.
|
Re: Detect if player killed by water ?
What do you mean by "by water"? Drowning?
|
Re: Detect if player killed by water ?
Quote:
He wants to catch when player takes DMG_DROWN damage. |
Re: Detect if player killed by water ?
Quote:
I want to give the pressure of the button the floods water frags (This means that the victims of drowning are returning frag to the pressure of the button) here video It shows the button and the flood of water : https://youtu.be/qgUN-yOPo_0?t=114 i try this : PHP Code:
Quote:
Because if any victim dies with wordspawn will be counted for him frags (ex: fall die) and here the setting in the map undertow : Quote:
|
Re: Detect if player killed by water ?
Quote:
|
Re: Detect if player killed by water ?
thank you all !
|
All times are GMT -4. The time now is 23:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.