Ui::setTextColour: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
colors you input not same as you think?<br>A: for some reason its R B G A
colors you input not same as you think?<br>A: for some reason its R B G A
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.setTextColour(red, green, blue, alpha);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.setTextColour(red, green, blue, alpha);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''red:''' int
*'''red:''' int
Line 11: Line 11:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Ui_function_c}}
{{Ui_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:34, 6 May 2017

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

Syntax

mp.game.ui.setTextColour(red, green, blue, alpha);

Required Arguments

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

Return value

  • Undefined

Example

// todo

See also