Entity/IsConstraint

From Garry's Mod
Revision as of 06:59, 20 January 2014 by SAGA164 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 Entity:IsConstraint( )

Contents

Description

Returns if entity is constraint or not

Returns

boolean

Is the entity a constraint or not

Examples

Example

Returns true if player 1 is aiming at constraint.

print( player.GetByID(1):GetEyeTrace().Entity:IsConstraint() )

Output:

false
Personal tools
Navigation