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

Ui::setTextJustification

Материал из RAGE MP Wiki Archive
Версия от 14:52, 20 мая 2017; imported>StreetGT
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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