Garry's Mod Wiki

Revision Difference

timer.RepsLeft#564579

<function name="RepsLeft" parent="timer" type="libraryfunc"> <description> Returns amount of repetitions/executions left before the timer destroys itself. <note>The last execution of the timer returns 1, not 0.</note>⤶ </description> <realm>Shared and Menu</realm> <args> <arg name="identifier" type="any">Identifier of the timer.</arg> </args> <rets> <ret name="" type="number">The amount of executions left.</ret> </rets> </function>