Entity/IsPlayerHolding

From Garry's Mod
Jump to: navigation, search
 Entity:IsPlayerHolding( )

Description

Returns true if the entity is being held by a player. Either by physics gun, gravity gun or use-key (+use).

BUG

If multiple players are holding an object and one drops it, this will return false despite the object still being held.

Issue Tracker: #2046

Returns

boolean

IsBeingHeld
Personal tools
Navigation