setCustomMpHudColor
SET_CUSTOM_MP_HUD_COLOR0x2ACCB195F3CCD9DEThe GTA V native SET_CUSTOM_MP_HUD_COLOR of the HUD namespace, as LS:MP client scripts call it: the global function setCustomMpHudColor, in JavaScript and in Lua.
setCustomMpHudColor(hudColorId: number): voidsetCustomMpHudColor(hudColorId: integer)Usage
JavaScript
setCustomMpHudColor(hudColorId);Lua
setCustomMpHudColor(hudColorId)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
hudColorId | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- HUD HUD
- In the game
void SET_CUSTOM_MP_HUD_COLOR(int hudColorId)- Hash
0x2ACCB195F3CCD9DE- Introduced
- Game build 2545 legacy numbering
- Formerly
_SET_CURRENT_CHARACTER_HUD_COLOR