constraint.HasConstraints

From Garry's Mod
Jump to: navigation, search
 constraint.HasConstraints( )

Description

Returns true if the entity has constraints attached to it

Arguments

Entity ent

The entity to check

Returns

boolean

Whether the entity has any constraints or not.
Personal tools
Navigation