| Name | Type | Description |
|---|---|---|
| value | string | Command |
EngineClient.ExecuteClientCmd("say neverlose.cc")| Name | Type | Description |
|---|---|---|
| value | string | Name of the current map |
local mapname = EngineClient.GetLevelName()
print(mapname)| Name | Type | Description |
|---|---|---|
| value | string | Short name of the current map |
local mapname_short = EngineClient.GetLevelNameShort()
print(mapname_short)| Name | Type | Description |
|---|---|---|
| value | string | Map group name |
local mapgroup = EngineClient.GetMapGroupName()
print(mapgroup)| Name | Type | Description |
|---|---|---|
| value | int | Local player index |
local localplayer = EngineClient.GetLocalPlayer()
print(localplayer)| Name | Type | Description |
|---|---|---|
| value | int | Max amount of clients |
local max_players = EngineClient.GetMaxClients()
print(max_players)| Name | Type | Description |
|---|---|---|
| value | INetChannelInfo* | INetChannelInfo pointer |
local net_chann = EngineClient.GetNetChannelInfo()
print(net_chann)| Name | Type | Description |
|---|---|---|
| value | Vector2 | Size of game window |
local screen_size = EngineClient.GetScreenSize()
print(screen_size.x, screen_size.y)| Name | Type | Description |
|---|---|---|
| value | QAngle | View angles |
local view_angles = EngineClient.GetViewAngles()
print(view_angles.pitch, view_angles.yaw, view_angles.roll)| Name | Type | Description |
|---|---|---|
| value | bool | Is player connected to any server |
local IsConnected = EngineClient.IsConnected()
print(IsConnected)| Name | Type | Description |
|---|---|---|
| value | bool | Is player ingame |
local in_game = EngineClient.IsInGame()
print(in_game)| Name | Type | Description |
|---|---|---|
| value | string | Path to game directory |
local game_dir = EngineClient.GetGameDirectory()
print(game_dir)| Name | Type | Description |
|---|---|---|
| value | int | Last timestamp |
local timestamp = EngineClient.GetLastTimestamp()
print(timestamp)| Name | Type | Description |
|---|---|---|
| value | string | CS:GO version |
local ver = EngineClient.GetProductVersionString()
print(ver)| Name | Type | Description |
|---|---|---|
| value | QAngle | New angles |
EngineClient.SetViewAngles(QAngle.new(20, 20, 0))