Garry's Mod Wiki

Entity:IsValidLayer

Entity:IsValidLayer

boolean Entity:IsValidLayer( number layerID )

Description

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

This function only works on BaseAnimatingOverlay entities.

Arguments

1 number layerID
The Layer ID

Returns

1 boolean
Whether the given layer ID is valid and exists on this entity.

Special Pages


Wikis

?

Render Time: 20ms

DB GetPage 2
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 6