Ui::setTextScale: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
p0 is unknown, I quick disassembly will tell us what it does <br><br>size - range from 0 to 3 or 4 I believe.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mp.game.ui.setTextScale(p0, size);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.setTextScale(sizex, sizey);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''p0:''' float
*'''sizex:''' float
*'''size:''' float
*'''sizey:''' float
===Return value===
===Return value===
*'''Undefined'''
*'''Undefined'''
Line 14: Line 13:
{{Ui_s_function_c}}
{{Ui_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:UI API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 14:13, 20 May 2017

Syntax

mp.game.ui.setTextScale(sizex, sizey);

Required Arguments

  • sizex: float
  • sizey: float

Return value

  • Undefined

Example

// todo

See also