event
onCommand (client-side)
Available since version: 0.0.1
This event can be canceled
Note
This event can be cancelled in order to prevent server-side "onPlayerCommand" event from being called.
This event is triggered when a user uses command on the chat.
Command always begins with forward slash /
.
Parameters
string command, string params
string
command: used command name on the chat.string
params: command parameters divided by space.