Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 44ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 30
Render Body 0
Render Sidebar 6