Skip to main content

Ui::drawText

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​

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

Required Arguments​

  • x: float
  • y: float

Return value​

  • Undefined

Example​

```js // todo ```

See also​