πŸ–₯️console

Functions:

execute_client_cmd

console.execute_client_cmd(command: string)

Name
Type
Description

command

string

command

Executes a ConCommand.

print

console.print(message: string)

Name
Type
Description

message

string

message

Outputs text to the console.

console.print_color(message: string, message_color: color)

Name
Type
Description

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
Type
Description

name

string

-

var

number

-

Sets the ConVar int value.

set_float

console.set_float(name: string, var: number)

Name
Type
Description

name

string

-

var

number

-

Sets the ConVar float value.

set_bool

console.set_bool(name: string, var: boolean)

Name
Type
Description

name

string

-

var

boolean

-

Sets the ConVar boolean value.

set_string

console.set_string(name: string, var: string)

Name
Type
Description

name

string

-

var

string

-

Sets the ConVar string value.

Last updated