CTakeDamageInfo/SetInflictor

From Garry's Mod
Jump to: navigation, search
 CTakeDamageInfo:SetInflictor( )

Description

Sets the inflictor of the damage for example a weapon.

For hitscan/bullet weapons this should the weapon.
For projectile ( rockets, etc ) weapons this should be the projectile.

Arguments

Entity inflictor

The new inflictor.
Personal tools
Navigation