Entity.SetPhysicsAttacker
From GMod Wiki
Function | |
Syntax | Entity:SetPhysicsAttacker( Player ) |
Description: | |
Sets the player who gets credit if this entity kills something with physics damage. | |
Returns: | nil |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.SetPhysicsAttacker]Entity.SetPhysicsAttacker [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Don't set the physics attacker as a ragdoll, it will cause gmod to crash.