Garry's Mod Wiki

Revision Difference

constraint.HasConstraints#546979

<function name="HasConstraints" parent="constraint" type="libraryfunc"> <description>Returns true if the entity has constraints attached to it</description> <realm>Server</realm> <file line="1479">lua/includes/modules/constraint.lua</file> <file line="1492-L1517">lua/includes/modules/constraint.lua</file> <args> <arg name="ent" type="Entity">The entity to check</arg> </args> <rets> <ret name="" type="boolean">Whether the entity has any constraints or not.</ret> </rets> </function>