constraint.FindConstraints
From GMod Wiki
Revision as of 05:08, 30 October 2009 by Crazy Quebecer (Talk | contribs)
Function | |
Syntax |
constraint.FindConstraints( Entity , String type ) Where is this used? |
Description: | |
Returns the table with information about the constraints on an entity with the specific name. | |
Returns: | Table |
Part of Library: | constraint |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Constraint.FindConstraints]Constraint.FindConstraints [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Description | Finds all Hydraulic constraints on an entity. |
---|---|
Used on | |
Code | local constrs = constraint.FindConstraints( trace.Entity, "Hydraulic" ) |
Output | N/A |