Raised This Month: $ Target: $400
 0% 

prevent a Ham registered event from going through


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgi
Old 01-04-2014 , 18:55   prevent a Ham registered event from going through
Reply With Quote #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 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode