Object::createPortablePickup2: Difference between revisions

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


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">object.createPortablePickup2(pickupHash, x, y, z, placeOnGround, modelHash);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.object.createPortablePickup2(pickupHash, x, y, z, placeOnGround, modelHash);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''pickupHash:''' Model hash or name
*'''pickupHash:''' Model hash or name
Line 13: Line 13:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Object_function_c}}
{{Object_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.object.createPortablePickup2(pickupHash, x, y, z, placeOnGround, modelHash);

Required Arguments

  • pickupHash: Model hash or name
  • x: float
  • y: float
  • z: float
  • placeOnGround: Boolean
  • modelHash: Model hash or name

Return value

  • Pickup

Example

// todo

See also

  • [[Object::disableGlow|mp.game.object.disableGlow