Entity/SetPhysicsAttacker

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=SetPhysicsAttacker |Parent=Entity |Description= |Realm=Server |IsClass=Yes }}")
 
Line 2: Line 2:
 
|Name=SetPhysicsAttacker
 
|Name=SetPhysicsAttacker
 
|Parent=Entity
 
|Parent=Entity
|Description=
+
|Description=Sets the player who gets credit if this entity kills something with physics damage.
 
|Realm=Server
 
|Realm=Server
 
|IsClass=Yes
 
|IsClass=Yes
 +
}}
 +
{{Arg
 +
|type=Player
 +
|name=ent
 +
|desc=Player who gets the kills. Setting this to a non-player entity will not work.
 
}}
 
}}

Revision as of 08:44, 21 April 2013

 Entity:SetPhysicsAttacker( )

Description

Sets the player who gets credit if this entity kills something with physics damage.

Arguments

Player ent

Player who gets the kills. Setting this to a non-player entity will not work.
Personal tools
Navigation