Garry's Mod Wiki

Revision Difference

engine.TickInterval#515640

<function name="TickInterval" parent="engine" type="libraryfunc">⤶ <description>Returns the number of seconds between each gametick.</description>⤶ <realm>Shared and Menu</realm>⤶ <rets>⤶ <ret name="" type="number">Number of seconds between each gametick.</ret>⤶ </rets>⤶ </function>⤶ ⤶ <example>⤶ <code>print(1 / engine.TickInterval())</code>⤶ <output>66.666668156783 (servertick is 66)</output>⤶ ⤶ </example>