Garry's Mod Wiki

constraint.FindConstraint

table constraint.FindConstraint( Entity ent, string type )

Description

Returns the first constraint of a specific type directly connected to the entity found

Arguments

1 Entity ent
The entity to check
2 string type
The type of constraint (eg. "Weld", "Elastic", "NoCollide")

Returns

1 table
The constraint table, set with constraint.AddConstraintTable

Page Links


Special Pages


Wikis

?

Render Time: 25ms

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