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

Function

textItemSetScale

ServerText displaysIdentical to MTA:SA

Changes a text item's scale (size).

Syntax

bool textItemSetScale(textitem theTextitem, float scale)

Arguments

theTextitemtextitem
The text item.
scalefloat
New scale (1 = normal).

Returns

true on success.

Example

local item = textCreateTextItem("WYGRANA", 0.5, 0.5)
textItemSetScale(item, 3)

See also