OnPlayerCommand

From GTA Connected
Revision as of 20:45, 6 May 2020 by Mex (talk | contribs) (Created page with "{{ScriptItem |endpoint = server |type = event |name = onPlayerCommand |usage = a player submits a chat command.<br>A command starts with a forward slash (the command character...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

onPlayerCommand

Signature: void onPlayerCommand()

Usage: a player submits a chat command.
A command starts with a forward slash (the command character), and the command is not displayed in the chat box

Parameters

Client client The client that submitted a command.
string command The command name.
string parameters The command parameters as a string.

Return

void