OnClientChatMessage

From Multi Theft Auto: Wiki
Revision as of 10:38, 16 May 2009 by LordAzamath (talk | contribs) (→‎Example: event is not cancelable - example is wrong)
Jump to navigation Jump to search

This event is triggered when any text is output to chatbox, including MTA's hardcoded messages.

Parameters

string text, int r, int g, int b
  • text: The text that was output to chatbox
  • r: The amount of red in the color of the text.
  • g: The amount of green in the color of the text.
  • b: The amount of blue in the color of the text.

Source

The source of this event is the root element.

Example

This event doesn't have an example added yet

See Also

Client other events


Client event functions