Ui::displayCash: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
'DISPLAY_CASH(false);' makes the cash amount render on the screen when appropriate<br>'DISPLAY_CASH(true);' disables cash amount rendering
'DISPLAY_CASH(false);' makes the cash amount render on the screen when appropriate<br>'DISPLAY_CASH(true);' disables cash amount rendering
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.displayCash(toggle);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.displayCash(toggle);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''toggle:''' Boolean
*'''toggle:''' Boolean
Line 8: Line 8:
==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

'DISPLAY_CASH(false);' makes the cash amount render on the screen when appropriate
'DISPLAY_CASH(true);' disables cash amount rendering

Syntax

mp.game.ui.displayCash(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also