Skip to content

SetHudTextColour

Recolours a HUD text.

SetHudTextColour(id, colour)
Parameter Type
id number the element
colour number 0xRRGGBBAA

boolean

SetHudTextColour(timer, secondsLeft <= 10 and COLOUR_RED or COLOUR_WHITE)

CreateHudText · the GameText and HUD group of the index