Garry's Mod Wiki

Entity:IsConstraint

Description

Returns if entity is constraint or not

Returns

1 boolean
Is the entity a constraint or not

Example

Returns true if player 1 is aiming at constraint.

print( player.GetByID(1):GetEyeTrace().Entity:IsConstraint() )
Output: false

Page Links


Special Pages


Wikis

?

Render Time: 30ms

Session 0
DB GetPage 2
Generate Html 5
SaveChanges 8
Render Body 0
Render Sidebar 11