Garry's Mod Wiki

Revision Difference

Entity:GetLayerCycle#515483

<function name="GetLayerCycle" parent="Entity" type="classfunc">⤶ <description>⤶ Returns the animation cycle/frame for given layer.⤶ ⤶ <note>This function only works on <page>BaseAnimatingOverlay</page> entites!</note>⤶ </description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="layerID" type="number">The Layer ID</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="number">The animation cycle/frame for given layer.</ret>⤶ </rets>⤶ </function>⤶ ⤶