Entity:IsValidLayer

From Garry's Mod
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