Parameters:
Name | Type | Description |
---|---|---|
szVariableName | string | console variable name |
Returns:
Type | Description |
---|---|
CConVar* | console variable pointer |
Code:
local sv_cheats = IConVar.FindVar("sv_cheats")
Parameters:
Name | Type | Description |
---|---|---|
szFormat | string | text to output into game console |
Code:
IConVar.ConsolePrintf("text to print")
Parameters:
Name | Type | Description |
---|---|---|
colText | color | color of output text |
szFormat | string | text to output into game console |
Code:
IConVar.ConsoleColorPrintf(Color.new(0, 255, 255), "text to print")