- Documentation
- Server functions
- textDisplayAddText
Function
textDisplayAddText
Adds a text item to a display; all the display's observers will see it.
Syntax
bool textDisplayAddText(textdisplay display, textitem text)Arguments
displaytextdisplay- The display.
texttextitem- The text item.
Returns
true on success.
Example
local display = textCreateDisplay()
textDisplayAddText(display, textCreateTextItem("Witaj", 0.5, 0.1, "low", 255, 255, 255, 255, 1.5, "center"))