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: 23ms

DB GetPage 2
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 7