Garry's Mod Wiki

Revision Difference

Entity:GetLayerDuration#527736

<function name="GetLayerDuration" parent="Entity" type="classfunc"> <description> Returns the duration of given layer. <note>This function only works on <page>BaseAnimatingOverlay</page> entites!</note> <note>This function only works on <page>BaseAnimatingOverlay</page> entities.</note> </description> <realm>Shared</realm> <args> <arg name="layerID" type="number">The Layer ID</arg> </args> <rets> <ret name="" type="number">The duration of the layer</ret> </rets> </function>