⚙ïļGlobal Vars

global_vars instance

realtime

number

absolute time

framecount

number

absolute frame count

curtime

number

client clock

frametime

number

delta time between frames

tickcount

number

server frame count

interval_per_tick

number

server delta time

Example

local fps         = 1 / global_vars.frametime;
local tickrate    = 1 / global_vars.interval_per_tick

Last updated