OnClientChatMessage: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(OnClientChatMessage)
 
mNo edit summary
Line 1: Line 1:
{{Client event}}
{{Client event}}
__NOTOC__  
__NOTOC__  
This event is triggered when any text is outputted to chatbox, including MTA's hardcoded messages.
This event is triggered when any text is output to chatbox, including MTA's hardcoded messages.


==Parameters==  
==Parameters==  

Revision as of 11:48, 1 May 2009

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

See Also

GUI events

Input

GUI


Client event functions