Garry's Mod Wiki

Entity:IsConstraint

Entity:IsConstraint

  boolean 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( Entity(1):GetEyeTrace().Entity:IsConstraint() )
Output: false

Special Pages


Wikis

?

Render Time: 45ms

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