Ui::drawText

From RAGE Multiplayer Wiki
Revision as of 14:59, 20 May 2017 by StreetGT (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

After applying the properties to the text (See UI::SET_TEXT_), this will draw the text in the applied position. Also 0.0f < x, y < 1.0f, percentage of the axis.

Used to be known as _DRAW_TEXT

Syntax

mp.game.ui.drawText(x, y);

Required Arguments

  • x: float
  • y: float

Return value

  • Undefined

Example

// todo

See also