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

Function

textItemGetScale

ServerText displaysIdentical to MTA:SA

Returns a text item's scale.

Syntax

float textItemGetScale(textitem theTextitem)

Arguments

theTextitemtextitem
The text item.

Returns

The scale.

Example

local item = textCreateTextItem("A", 0.5, 0.5, "low", 255, 255, 255, 255, 2)
outputDebugString(textItemGetScale(item))

See also