OnPlayerCommand

From Multi Theft Auto: Wiki
Revision as of 14:18, 31 January 2011 by MrFredo (talk | contribs) (Created page with "__NOTOC__ {{Server event}} This event is triggered when a player chats inside the chat box. '''''Note:''' This event triggers regardless of whether the command exists or not. Al...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This event is triggered when a player chats inside the chat box.

Note: This event triggers regardless of whether the command exists or not. Also, typing anything in chat will execute command "say", so this event will be triggered on every chat message as well.

Parameters

string command

Source

The source of this event is the player who tried to execute a command

Cancel effect

The command will not be executed

See Also

Player events


Event functions

Shared