Interface Handler

csgo.interface_handler

Functions

get_global_vars( )

returns the global_vars table

get_entity_list( )

returns entity_list

get_engine_client( )

returns engine_client

get_cvar( )

returns the console interface

get_events( )

returns the event handler

get_debug_overlay( )

returns debug_overlay

Example

local EntityList        = csgo.interface_handler:get_entity_list()
local Globals           = csgo.interface_handler:get_global_vars()
local Console           = csgo.interface_handler:get_cvar()
local Events            = csgo.interface_handler:get_events()
local Engine            = csgo.interface_handler:get_engine_client()
local DebugOverlay      = csgo.interface_handler:get_debug_overlay()

-- Prints current map name
print(Engine:get_map_name())

Last updated