setScriptVariableHudColour
SET_SCRIPT_VARIABLE_HUD_COLOUR0xD68A5FF8A3A89874The GTA V native SET_SCRIPT_VARIABLE_HUD_COLOUR of the HUD namespace, as LS:MP client scripts call it: the global function setScriptVariableHudColour, in JavaScript and in Lua.
setScriptVariableHudColour(r: number, g: number, b: number, a: number): voidsetScriptVariableHudColour(r: integer, g: integer, b: integer, a: integer)Usage
JavaScript
setScriptVariableHudColour(r, g, b, a);Lua
setScriptVariableHudColour(r, g, b, a)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
r | int | number | integer |
g | int | number | integer |
b | int | number | integer |
a | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Sets the color of HUD_COLOUR_SCRIPT_VARIABLE
Reference
- Namespace
- HUD HUD
- In the game
void SET_SCRIPT_VARIABLE_HUD_COLOUR(int r, int g, int b, int a)- Hash
0xD68A5FF8A3A89874