Garry's Mod Wiki

Entity:IsPlayerHolding

Entity:IsPlayerHolding

boolean Entity:IsPlayerHolding()

Description

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

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

1 boolean
IsBeingHeld

Special Pages


Wikis

?

Render Time: 61ms

DB GetPage 46
Generate Html 1
SaveChanges (1) 5
Render Body 0
Render Sidebar 6