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

Function

textItemGetPriority

ServerText displaysIdentical to MTA:SA

Returns a text item's priority ("low", "medium", "high").

Syntax

string textItemGetPriority(textitem textitem)

Arguments

textitemtextitem
The text item.

Returns

The priority.

Example

local item = textCreateTextItem("A", 0.5, 0.5, "high")
outputDebugString(textItemGetPriority(item))

See also