Garry's Mod Wiki

CTakeDamageInfo:SetInflictor

CTakeDamageInfo:SetInflictor

  CTakeDamageInfo:SetInflictor( Entity inflictor )

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

1 Entity inflictor
The new inflictor.

Special Pages


Wikis

?

Render Time: 52ms

DB GetPage 36
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 6