Garry's Mod Wiki

Revision Difference

Global.FrameNumber#549889

<function name="FrameNumber" parent="Global" type="libraryfunc"> <description>Returns the number of frames rendered since the game was launched.</description>⤶ <realm>Client</realm>⤶ <description>⤶ Returns the number of frames rendered since the game was launched.⤶ <note>This function is currently only shared on the `dev` branch, and on other branches it only exists clientside.</note>⤶ </description>⤶ <realm>Shared</realm>⤶ </function> <example> <description>Prints the frame count to the console.</description> <code>print(FrameNumber())</code> </example>