Comment on page
📎
globals
globals.curtime
:
number
Server time in seconds.
globals.realtime
:
number
Local time in seconds.
globals.frametime
:
number
Duration of the last game frame in seconds.
globals.framecount
:
number
Amount of frames since the game started.
globals.absoluteframetime
:
number
Duration of the last game frame in seconds.
globals.tickcount
:
number
Number of ticks elapsed on the server.
globals.tickinterval
:
number
Duration of a tick in seconds.
globals.max_players
:
number
Maximum number of players on the server.
globals.is_connected
:
boolean
Returns
true
if the player is connected, but not necessarily active in game (could still be loading).globals.is_in_game
:
boolean
Returns
true
if the player is currently connected to a game server.globals.choked_commands
:
number
Number of choked commands.
globals.commandack
:
number
Current command number acknowledged by server.
globals.commandack_prev
:
number
Sequence number of last outgoing command.
globals.last_outgoing_command
:
number
Number of last command sequence number acknowledged by server.
globals.server_tick
:
number
Last-received tick from the server.
globals.client_tick
:
number
The client's own tick count.
globals.delta_tick
:
number
Last-valid received snapshot (server) tick.
globals.clock_offset
:
number
Difference between the server and client tick counts, used to predict the current server tick count.
Last modified 1yr ago