Networkcash::walletBalance: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
From what I understand, it retrieves STAT_WALLET_BALANCE for the specified character (-1 means use MPPLY_LAST_MP_CHAR)
From what I understand, it retrieves STAT_WALLET_BALANCE for the specified character (-1 means use MPPLY_LAST_MP_CHAR)
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">networkcash.walletBalance();</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.networkcash.walletBalance();</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
===Return value===
===Return value===
Line 7: Line 7:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Networkcash_function_c}}
{{Networkcash_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:28, 6 May 2017

From what I understand, it retrieves STAT_WALLET_BALANCE for the specified character (-1 means use MPPLY_LAST_MP_CHAR)

Syntax

mp.game.networkcash.walletBalance();

Required Arguments

Return value

  • int

Example

// todo

See also

Template:Networkcash s function c