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

Function

textItemGetText

ServerText displaysIdentical to MTA:SA

Returns a text item's text.

Syntax

string textItemGetText(textitem theTextitem)

Arguments

theTextitemtextitem
The text item.

Returns

The text.

Example

local item = textCreateTextItem("Punkty: 0", 0.1, 0.1)
outputDebugString(textItemGetText(item))

See also