Skip to content

globalvars table

Functions

get_real_time(): number

Returns the client time

1
local rt = globalvars.get_real_time()

get_frame_count(): number

Returns the frame count

1
local frame_count = globalvars.frame_count()

get_absolute_frametime(): number

Returns the absolute frame time

1
local absolute_frametime = globalvars.get_absolute_frametime()

get_current_time(): number

Returns the server time

1
local current_time = globalvars.get_current_time()

get_frame_time(): number

Returns the frame time

1
local frame_time = globalvars.get_frame_time()

get_max_clients(): number

Returns the max clients value

1
local max_clients = globalvars.get_max_clients()

get_tick_count(): number

Returns the current tickcount

1
local tick_count = globalvars.get_tick_count()

get_interval_per_tick(): number

Returns the interval per tick

1
local tick_count = globalvars.get_interval_per_tick()