constraint.FindConstraints
From GMod Wiki
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 |