Sets the current text for this element.
Text:SetText(text) | |||
Text:SetText(text, html) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
html | parameter | boolean | Enables HTML mode. In HTML mode, a limited number of formatting tags are available: <u>, <font color="#rrggbb">, and <a lua="print('This is a lua script.')">. |
text | parameter | string | The new text for the element. |