Skip to main content

Getting Started

The API comes with the following namespaces. You can think of them as categories for functions.

  • Global Functions - API functions that don't belong to any namespaces
  • bit - LuaJIT library for bitwise operations
  • client - General game and cheat-related functions
  • config - GameSense configuration functions
  • cvar - Utilities for working with game cvars
  • database - A persistent storage engine that lets you store values between reloads and injects
  • entity - Functions for interacting with game entities
  • globals - Functions for getting game and cheat-related globals
  • json - Utilities for working with JSON data, based on lua-cjson
  • materialsystem - Functions controlling the games material system, such as modulation, swapping, removing and setting
  • panorama - Functions for interacting with the game engine "Panorama" UI
  • plist - Functions for interacting with the player list
  • renderer - A library of functions for drawing and interacting with rendered visuals
  • ui - Functions for interfacing with the GameSense user interface
  • vector - A built-in vector library