Getting game and client-related globals
globals.framecount()
Returns the number of frames rendered since the game started.
globals.frametime()
Returns the time the last frame took to overlay.
globals.realtime()
Returns the total time the game has been running in seconds.
globals.servertickcount()
Returns the most recently received tick from the server.
globals.tickcount()
Returns the number of ticks elapsed on the server.