Garry's Mod Wiki

CTakeDamageInfo:SetAttacker

CTakeDamageInfo:SetAttacker( Entity ent )

Description

Sets the attacker ( character who originated the attack ) of the damage, for example a player or an NPC.

Arguments

1 Entity ent
The entity to be set as the attacker.

Page Links


Special Pages


Wikis

?

Render Time: 34ms

Session 0
DB GetPage 7
Generate Html 2
SaveChanges 17
Render Body 0
Render Sidebar 6