Skip to content

globals

Description

Getting game and client-related globals


framecount

globals.framecount()

Returns the number of frames rendered since the game started.

frametime

globals.frametime()

Returns the time the last frame took to overlay.

realtime

globals.realtime()

Returns the total time the game has been running in seconds.

servertickcount

globals.servertickcount()

Returns the most recently received tick from the server.

tickcount

globals.tickcount()

Returns the number of ticks elapsed on the server.