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