Skip to content

SetHudTextColor

Recolors a HUD text.

SetHudTextColor(id, color)
Parameter Type
id number the element
color number 0xRRGGBBAA

boolean

SetHudTextColor(timer, secondsLeft <= 10 and COLOR_RED or COLOR_WHITE)

CreateHudText · the GameText and HUD group of the index