SetHudTextAlign
Changes which side of a HUD text sits at its x.
Syntax
Section titled “Syntax”SetHudTextAlign(id, align)| Parameter | Type | |
|---|---|---|
id |
number | the element |
align |
number | HUD_ALIGN_LEFT, HUD_ALIGN_CENTRE or HUD_ALIGN_RIGHT |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”SetHudTextAlign(banner, HUD_ALIGN_CENTRE)See also
Section titled “See also”CreateHudText · the GameText and HUD group of the index
