π₯οΈconsole
Functions:
execute_client_cmd
console.execute_client_cmd(command: string)
command
string
command
Executes a ConCommand.
print
console.print(message: string)
message
string
message
Outputs text to the console.
print_color
console.print_color(message: string, message_color: color)
message
string
message
message_color
color
message_color
Outputs text to the console with a specific color.
get_int
console.get_int(name: string):
number
Returns the ConVar int value.
get_float
console.get_float(name: string):
number
Returns the ConVar float value.
get_bool
console.get_bool(name: string):
boolean
Returns the ConVar boolean value.
get_string
console.get_string(name: string):
string
Returns the ConVar string value.
set_int
console.set_int(name: string, var: number)
name
string
-
var
number
-
Sets the ConVar int value.
set_float
console.set_float(name: string, var: number)
name
string
-
var
number
-
Sets the ConVar float value.
set_bool
console.set_bool(name: string, var: boolean)
name
string
-
var
boolean
-
Sets the ConVar boolean value.
set_string
console.set_string(name: string, var: string)
name
string
-
var
string
-
Sets the ConVar string value.
Last updated