Garry's Mod Wiki

Entity:GetPhysicsAttacker

Player Entity:GetPhysicsAttacker( number timeLimit )

Description

Returns player who is claiming kills of physics damage the entity deals.

Arguments

1 number timeLimit
The time to check if the entity was still a proper physics attacker.

Some entities such as the Combine Ball disregard the time limit and always return the physics attacker.

Returns

1 Player
The player. If entity that was set is not a player, it will return NULL entity.

Page Links


Special Pages


Wikis

?

Render Time: 33ms

Session 0
DB GetPage 2
Generate Html 1
SaveChanges 10
Render Body 0
Render Sidebar 18