Revision Difference
Entity:GetLayerDuration#527413
<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>
</description>
<realm>Server</realm>⤶
<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>