Raised This Month: $ Target: $400
 0% 

Ham_TakeDamage doesn't work


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-30-2012 , 15:49   Re: Ham_TakeDamage doesn't work
Reply With Quote #7

If you don't set post (use 0, hooking as pre), then it is before the event is fired.
If you do set post (use 1), then it is after the event is fired.

In this case, hooking post would be after damage is done, so you can no longer modify the damage value.
Hooking as pre will allow you to hook before damage is done so you can modify the values.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 07:43.


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