Raised This Month: $ Target: $400
 0% 

Ham_TakeDamage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
vitorrossi
Senior Member
Join Date: Apr 2012
Location: NY, USA
Old 09-09-2012 , 20:07   Ham_TakeDamage
Reply With Quote #1

When you register Ham_TakeDamage

PHP Code:
RegisterHam(Ham_TakeDamage"player""Ham_PlayerTakeDamage_Post"1); 
PHP Code:
public Ham_PlayerTakeDamage_Post(iVictim,iInflictor,iAttacker,Float:flDamage,iBits
If the iVictim is hit by a shot from a weapon, iInflictor and iAttacker are the same. How can I find the weapon that was used to cause the damage? i.e. deagle or ak47 or... Thank you
vitorrossi 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 08:20.


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