- Documentation
- Server functions
- textItemSetPriority
Function
textItemSetPriority
Changes a text item's priority: "high" for fast-changing texts (counters), "low" for static ones.
Syntax
bool textItemSetPriority(textitem theTextItem, string priority)Arguments
theTextItemtextitem- The text item.
prioritystring"low","medium"or"high".
Returns
true on success.
Example
local item = textCreateTextItem("0", 0.5, 0.5)
textItemSetPriority(item, "high")