Skip to content

SetHudTextAlign

Changes which side of a HUD text sits at its x.

SetHudTextAlign(id, align)
Parameter Type
id number the element
align number HUD_ALIGN_LEFT, HUD_ALIGN_CENTRE or HUD_ALIGN_RIGHT

boolean

SetHudTextAlign(banner, HUD_ALIGN_CENTRE)

CreateHudText · the GameText and HUD group of the index