ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. textDisplayAddText

Function

textDisplayAddText

ServerText displaysIdentical to MTA:SA

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"))

See also