OnClientChatMessage
From Multi Theft Auto: Wiki
This event is triggered when any text is output to chatbox, including MTA's hardcoded messages.
Parameters
- 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
- onClientDebugMessage
- onClientHUDRender
- onClientMinimize
- onClientRestore
- onClientRender
- onClientExplosion
- onClientChatMessage
- onClientPreRender
FROM VERSION 1.4 ONWARDS
Client event functions
- addEvent
- addEventHandler
- cancelEvent
- removeEventHandler
- triggerEvent
- triggerServerEvent
- wasEventCanceled
FROM VERSION 1.3.1 ONWARDS