HUDClient

overrideMpTextChatColor

OVERRIDE_MP_TEXT_CHAT_COLOR0xF47E567B3630DD12

The GTA V native OVERRIDE_MP_TEXT_CHAT_COLOR of the HUD namespace, as LS:MP client scripts call it: the global function overrideMpTextChatColor, in JavaScript and in Lua.

SignatureJavaScript
overrideMpTextChatColor(p0: number, hudColor: number): void
SignatureLua
overrideMpTextChatColor(p0: integer, hudColor: integer)

Usage

JavaScript
overrideMpTextChatColor(p0, hudColor);
Lua
overrideMpTextChatColor(p0, hudColor)

Parameters

ParameterTypeJavaScriptLua
p0intnumberinteger
hudColorintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void OVERRIDE_MP_TEXT_CHAT_COLOR(int p0, int hudColor)
Hash
0xF47E567B3630DD12
Introduced
Game build 678 legacy numbering
Formerly
_OVERRIDE_MULTIPLAYER_CHAT_COLOUR

Open in the interactive natives reference