Перейти к содержанию

Ui::drawText

Материал из RAGE MP Wiki Archive

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

<syntaxhighlight lang="javascript">mp.game.ui.drawText(x, y);</syntaxhighlight>

Required Arguments

  • x: float
  • y: float

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also