πglobalvars
Functions:
get_menu
globalvars.get_menu(): vector_4d
x - Menu position on the X axis.
y - Menu position on the Y axis.
z - Menu width.
w - Menu height.
Returns menu options.
is_open_menu
globalvars.is_open_menu(): boolean
Returns true, if the menu is open.
get_framerate
globalvars.get_framerate(): number
Returns the number of frames.
get_ping
globalvars.get_ping(): number
Returns the ping of the local player.
get_server_address
globalvars.get_server_address(): string
Returns the server ip.
get_time
globalvars.get_time(): string
Returns the time specified on the computer.
get_winuser
globalvars.get_winuser(): string
Returns the computer user name.
get_realtime
globalvars.get_realtime(): number
Returns the local time in seconds.
get_curtime
globalvars.get_curtime(): number
Returns the server time in seconds.
get_frametime
globalvars.get_frametime(): number
Returns the duration of the last game frame in seconds.
get_absolute_frametime
globalvars.get_absolute_frametime(): number
Returns the duration of the last game frame in seconds.
get_tickcount
globalvars.get_tickcount(): number
Returns the number of ticks elapsed on the server.
get_framecount
globalvars.get_framecount(): number
Returns the amount of frames since the game started.
get_intervalpertick
globalvars.get_intervalpertick(): number
Returns the duration of a tick in seconds.
get_maxclients
globalvars.get_maxclients(): number
Returns the maximum number of players on the server.
get_dt_recharging
globalvars.get_dt_recharging(): boolean
Returns false, if double tap is charged.
get_spectators
globalvars.get_spectators(): table
Returns a table of pointers to the players that are currently spectating the local player.
Last updated