Networkcash::networkDeleteCharacter: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Note the 2nd parameters are always 1, 0. I have a feeling it deals with your money, wallet, bank. So when you delete the character it of course wipes the wallet cash at that time. So if that was the case, it would be eg, NETWORK_DELETE_CHARACTER(characterIndex, deleteWalletCash, deleteBankCash);
Note the 2nd parameters are always 1, 0. I have a feeling it deals with your money, wallet, bank. So when you delete the character it of course wipes the wallet cash at that time. So if that was the case, it would be eg, NETWORK_DELETE_CHARACTER(characterIndex, deleteWalletCash, deleteBankCash);
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">networkcash.networkDeleteCharacter(characterIndex, p1, p2);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.networkcash.networkDeleteCharacter(characterIndex, p1, p2);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''characterIndex:''' int
*'''characterIndex:''' int
Line 10: Line 10:
==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:27, 6 May 2017

Note the 2nd parameters are always 1, 0. I have a feeling it deals with your money, wallet, bank. So when you delete the character it of course wipes the wallet cash at that time. So if that was the case, it would be eg, NETWORK_DELETE_CHARACTER(characterIndex, deleteWalletCash, deleteBankCash);

Syntax

mp.game.networkcash.networkDeleteCharacter(characterIndex, p1, p2);

Required Arguments

  • characterIndex: int
  • p1: Boolean
  • p2: Boolean

Return value

  • Undefined

Example

// todo

See also

Template:Networkcash s function c