Garry's Mod Wiki

Revision Difference

CTakeDamageInfo:SetInflictor#514128

<function name="SetInflictor" parent="CTakeDamageInfo" type="classfunc">⤶ <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.⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="inflictor" type="Entity">The new inflictor.</arg>⤶ </args>⤶ </function>⤶ ⤶