Ui::setTextScale: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
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.
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">ui.setTextScale(p0, size);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.setTextScale(p0, size);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''p0:''' float
*'''p0:''' float
Line 9: Line 9:
==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:33, 6 May 2017

p0 is unknown, I quick disassembly will tell us what it does

size - range from 0 to 3 or 4 I believe.

Syntax

mp.game.ui.setTextScale(p0, size);

Required Arguments

  • p0: float
  • size: float

Return value

  • Undefined

Example

// todo

See also