Networkcash::networkBuyItem: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">networkcash.networkBuyItem(itemp2p3p4item_namep6p7p8p9);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.networkcash.networkBuyItem(itemp2p3p4item_namep6p7p8p9);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''item:''' Model hash or name
*'''item:''' Model hash or name
Line 16: Line 16:
==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

Syntax

mp.game.networkcash.networkBuyItem(itemp2p3p4item_namep6p7p8p9);

Required Arguments

  • item: Model hash or name
  • p2: unknown (to be checked)
  • p3: unknown (to be checked)
  • p4: Boolean
  • item_name: String
  • p6: unknown (to be checked)
  • p7: unknown (to be checked)
  • p8: unknown (to be checked)
  • p9: Boolean

Return value

  • Undefined

Example

// todo

See also

Template:Networkcash s function c