Legacy Lua Api
  • Overview
  • Getting Started
    • Creating Scripts
    • Coding Scripts
    • Examples
  • Fatality
    • Render
    • Config
    • Menu
    • Callbacks
    • Math
    • Input
    • Datatypes
      • Shot
      • Lag Record
      • Shot Info
      • Config Value
  • Csgo
    • Interface Handler
      • Global Vars
      • Entity List
      • Engine Client
      • Cvar
      • Events
      • Debug Overlay
    • Datatypes
      • Color
      • Vector3
      • Vector2
      • Angle
      • Entity
      • Player
      • Cvar
      • Game Event
      • Font
      • Matrix3x4
Powered by GitBook

© 2025 - FATALITY

On this page
  • Functions
  • client_cmd_unrestricted
  • client_cmd
  • is_in_game
  • is_connected
  • get_ping
  • get_map_name
  • in_thirdperson
  1. Csgo
  2. Interface Handler

Engine Client

csgo.interface_handler:get_engine_client( )

Functions

client_cmd_unrestricted

executes console command without restrictions

engine_client:client_cmd_unrestricted( command )

Parameter

Data type

Description

command

string

command to be executed

client_cmd

execute console command

engine_client:client_cmd( command )

Parameter

Data type

Description

command

string

command to be executed

is_in_game

returns true if you are in game

engine_client:is_in_game( )

is_connected

returns true if you are connected to a server

engine_client:is_connected( )

get_ping

returns your total ping as an integer

engine_client:get_ping( )

get_map_name

returns the name of the map you are on.

engine_client:get_map_name( )

in_thirdperson

returns true if you are in third person

engine_client:in_thirdperson( )

PreviousEntity ListNextCvar

Last updated 2 years ago