Skip to main content

Ui::setTextJustification

Types - 0: Center-Justify 1: Left-Justify 2: Right-Justify

Right-Justify requires SET_TEXT_WRAP, otherwise it will draw to the far right of the screen

Syntax

```js mp.game.ui.setTextJustification(justifyType); ```

Required Arguments

  • justifyType: int

Return value

  • Undefined

Example

```js // todo ```

See also