Garry's Mod Wiki

constraint.FindConstraints

table constraint.FindConstraints( Entity ent, string type )

Description

Returns a table of all constraints of a specific type directly connected to the entity

Arguments

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

Returns

1 table
All the constraints of this entity.

Page Links


Special Pages


Wikis

?

Render Time: 30ms

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