Skip to main content

shared console:execute

boolean, string console:execute(args)

Executes a console command programmatically

--my_command is the command to execute, true is a parameter
console:execute({"my_command", "true"})

Parameters

TypeNameDescriptionOptional
string[]argsNo description

Returns

TypeDescription
booleanIf command was executed successfully
stringThe error / success message