Object::createObjectNoOffset: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
p5 - does not mean object handle is returned<br>maybe a quick view in disassembly will tell us what is actually does
p5 - does not mean object handle is returned<br>maybe a quick view in disassembly will tell us what is actually does
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">object.createObjectNoOffset(modelHash, x, y, z, networkHandle, createHandle, dynamic);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.object.createObjectNoOffset(modelHash, x, y, z, networkHandle, createHandle, dynamic);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''modelHash:''' Model hash or name
*'''modelHash:''' Model hash or name
Line 14: Line 14:
==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

p5 - does not mean object handle is returned
maybe a quick view in disassembly will tell us what is actually does

Syntax

mp.game.object.createObjectNoOffset(modelHash, x, y, z, networkHandle, createHandle, dynamic);

Required Arguments

  • modelHash: Model hash or name
  • x: float
  • y: float
  • z: float
  • networkHandle: Boolean
  • createHandle: Boolean
  • dynamic: Boolean

Return value

  • Object handle or object

Example

// todo

See also

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