Skip to content

SetHudText

Changes a HUD text’s text.

Re-sent to everyone the element is shown to. A change every second is fine; every tick is not.

SetHudText(id, text)
Parameter Type
id number the element
text string the new line

boolean - false when there is no such element

SetHudText(score, string.format("Red %d - Blue %d", red, blue))

GetHudText · CreateHudText · the GameText and HUD group of the index