Raised This Month: $ Target: $400
 0% 

Double Damage don't work


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 10-06-2014 , 16:19   Re: Double Damage don't work
Reply With Quote #6

Quote:
Originally Posted by aron9forever View Post
oh I see you guys didn't notice he's returning HAM_HANDLED instead of HAM_SUPERCEDE and not overwriting the normal damage inflicted

gotta pay more attention next time
HAM_SUPERCEDE blocks the function, definitely not what he wants.

you don't have to check if user is connected when you use is_user_alive(), it already checks that.
post how you are hooking ham_takedamage

Last edited by jimaway; 10-06-2014 at 16:19.
jimaway 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 17:42.


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