SetHudTextColour
Recolours a HUD text.
Syntax
Section titled “Syntax”SetHudTextColour(id, colour)| Parameter | Type | |
|---|---|---|
id |
number | the element |
colour |
number | 0xRRGGBBAA |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”SetHudTextColour(timer, secondsLeft <= 10 and COLOUR_RED or COLOUR_WHITE)See also
Section titled “See also”CreateHudText · the GameText and HUD group of the index
