OnPlayerCommand

From GTA Connected
Revision as of 16:10, 12 August 2021 by MexTest1 (talk | contribs)
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