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

Ui::setTextColour

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

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