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

Function

textDisplayRemoveText

ServerText displaysIdentical to MTA:SA

Removes a text item from a display (the item still exists and can be added again).

Syntax

bool textDisplayRemoveText(textdisplay display, textitem text)

Arguments

displaytextdisplay
The display.
texttextitem
The text item.

Returns

true on success.

Example

local display = textCreateDisplay()
local hint = textCreateTextItem("Podpowiedz", 0.5, 0.9)
textDisplayAddText(display, hint)
setTimer(function() textDisplayRemoveText(display, hint) end, 5000, 1)

See also