Thread
:
prevent a Ham registered event from going through
View Single Post
Author
Message
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgium
01-04-2014 , 18:55 prevent a Ham registered event from going through
#
1
RegisterHam(Ham_TakeDamage, "player", "player_hurt_pre", 1)
as you can see, i hooked Ham_TakeDamage
when this fires and my condition to block the event from continuing its normal proces is met i return HAM_SUPERCEDE.
Unfortunatly this doesnt work and damage still goes through and the player still hits his target.
I need a full stop, how could i do that?
__________________
Working on:
[CSGO/CSS] Mmorpg - an extensive XP/level modulair platform
Progress: [
♣♣♣♣♣
♣♣
|♣♣♣]
striker07
View Public Profile
Send a private message to striker07
Find More Posts by striker07