Entity/IsValidLayer

From Garry's Mod
Revision as of 07:46, 28 April 2016 by Jvs (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 Entity:IsValidLayer( )

Description

Returns whether the given layer ID is valid and exists on this entity.

NOTE

This function only works on BaseAnimatingOverlay entites!

Arguments

number layerID

The Layer ID

Returns

boolean

Whether the given layer ID is valid and exists on this entity.
Personal tools
Navigation