๐Console
Built-in Console library. (Opens with key: F1)
Examples:
.AddCommand with any args count:
function ExampleCommand(Args)
{
print(format("We got %d args.", Args.len()));
}
Console.AddCommand("examplecmd", "This is example description", ExampleCommand);.AddCommand with limited args count:
function ExampleCommand(Args)
{
print(format("First arg: %s", Args[0]));
print(format("Second arg: %s", Args[1]));
print(format("Third arg: %s", Args[2]));
}
Console.AddCommand("examplecmd", "This is example description", "<arg0> <arg1> <arg2>", 3, ExampleCommand);.Print with multi color:
Static Functions:
.AddCommand
Argument
Type
Description
.RemoveCommand
Argument
Type
Description
.Print
Argument
Type
Description
Last updated