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

Ui::setTextJustification

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

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

<syntaxhighlight lang="javascript">mp.game.ui.setTextJustification(justifyType);</syntaxhighlight>

Required Arguments

  • justifyType: int

Return value

  • Undefined

Example

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

See also