Raised This Month: $ Target: $400
 0% 

[Help] Damage Event


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BhK
Junior Member
Join Date: Dec 2014
Location: India
Old 12-20-2014 , 20:53   Re: [Help] Damage Event
Reply With Quote #1

Quote:
Originally Posted by Bugsy View Post
Why are you using inflictor? inflictor is the same as attacker except for when it's grenade damage. I'm guessing you want to check that the victim was hurt by another player? Better to compare victim to attacker.
PHP Code:
if ( !is_user_connectedattacker ) || ( victim == attacker ) )
        return 
HAM_IGNORED
Thanks !
BhK is offline
Reply



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 15:23.


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