⌛Globals

get_realtime

returns realtime

var realtime = g_globals.get_realtime( )

get_frametime

returns frametime

var frametime = g_globals.get_frametime( )

get_curtime

returns curtime

var curtime = g_globals.get_curtime( )

get_tickcount

returns tickcount

var tickcount = g_globals.get_tickcount( )

get_tickrate

returns the tickrate of the current server

var tickrate = g_globals.get_tickrate( )

get_frame_stage

returns the current frame stage

var stage = g_globals.get_frame_stage( )

get_choked_commands

returns current choked commands

var choke = g_globals.get_choked_commands( )

get_latency

returns current latency to server

var ping = g_globals.get_latency( )

is_valve_server

returns true if you are on a valve server

var valve_ds = g_globals.is_valve_server( )

is_sending_packet

sendpacket = g_globals.is_sending_packet()

force_packet

g_globals.force_packet(false)

get_map_name

map_name = g_globals.get_map_name()
g_globals.print_console("message", r, g, b)

Last updated