trigger_hurt heal detection
i need to detect when trigger_hurt or healthbutton heals me...
how to do it? |
Re: trigger_hurt heal detection
Try to hook Ham_TakeHealth with classname "player" and dmgbits DMG_GENERIC
HLSDK, door.cpp : Code:
m_hActivator->TakeHealth( m_bHealthValue, DMG_GENERIC ); |
Re: trigger_hurt heal detection
something strange happens..
when i'm on bhop block it show that it detected TakeHealth with DMG_GENERIC dmgbits, but when i'm on the trigger_hurt it shows the detection but the damage is null waiting for suggestions |
Re: trigger_hurt heal detection
Try this :
PHP Code:
|
Re: trigger_hurt heal detection
doesn't work(and you forgot to add fakemeta and one "=" in condition)
|
Re: trigger_hurt heal detection
Gonna see that later, have no more time for now :)
|
Re: trigger_hurt heal detection
i made the detection of hurt\door, but it doesn't show damage inflicted :((
help mee.. |
Re: trigger_hurt heal detection
Quote:
Code:
p3tsin used that code in his kz server. It shows the damage inflicted. :) |
Re: trigger_hurt heal detection
In that case, just use Health event and store previous health.
|
Re: trigger_hurt heal detection
|
| All times are GMT -4. The time now is 23:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.