Garry's Mod Wiki

Garry's Mod Wiki

  Player Entity:GetPhysicsAttacker( number timeLimit = 1 )

Description

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

Arguments

1 number timeLimit = 1
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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...