Skip to content

event onConsole (client-side)

Note

By default, non multiplayer commands will cause an error command doesn't exists, in order to avoid it, call eventValue function with CONSOLE_COMMAND_FOUND

This event is triggered when a user uses command on the debug console.
The console shows up when user presses the tilde key ~.

Parameters

string command, string params
  • string command: used command name on the debug console.
  • string params: command parameters divided by space.