Object::createAmbientPickup: Difference between revisions

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


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">object.createAmbientPickup(pickupHash, posX, posY, posZ, p4, value, modelHash, p7, p8);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.object.createAmbientPickup(pickupHash, posX, posY, posZ, p4, value, modelHash, p7, p8);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''pickupHash:''' Model hash or name
*'''pickupHash:''' Model hash or name
Line 16: Line 16:
==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.createAmbientPickup(pickupHash, posX, posY, posZ, p4, value, modelHash, p7, p8);

Required Arguments

  • pickupHash: Model hash or name
  • posX: float
  • posY: float
  • posZ: float
  • p4: int
  • value: int
  • modelHash: Model hash or name
  • p7: Boolean
  • p8: Boolean

Return value

  • Pickup

Example

// todo

See also

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