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

Ui::setTextColour

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

colors you input not same as you think?
A: for some reason its R B G A

Syntax

<syntaxhighlight lang="javascript">mp.game.ui.setTextColour(red, green, blue, alpha);</syntaxhighlight>

Required Arguments

  • red: int
  • green: int
  • blue: int
  • alpha: int

Return value

  • Undefined

Example

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

See also