constraint.FindConstraints

From Garry's Mod
Revision as of 13:46, 10 April 2017 by End360 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 constraint.FindConstraints( )

Contents

Description

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

Arguments

Entity ent

The entity to check

Arguments

string type

The type of constraint (eg. "Weld", "Elastic", "NoCollide")

Returns

table

All the constraints of this entity.
Personal tools
Navigation