Entity::createModelHide: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
p5 = sets as true in scripts<br>Same as the comment for CREATE_MODEL_SWAP unless for some reason p5 affects it this only works with objects as well.<br><br>Network players do not see changes done with this.
p5 = sets as true in scripts<br>Same as the comment for CREATE_MODEL_SWAP unless for some reason p5 affects it this only works with objects as well.<br><br>Network players do not see changes done with this.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">entity.createModelHide(x, y, z, radius, model, p5);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.entity.createModelHide(x, y, z, radius, model, p5);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x:''' float
*'''x:''' float
Line 13: Line 13:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Entity_function_c}}
{{Entity_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:06, 6 May 2017

p5 = sets as true in scripts
Same as the comment for CREATE_MODEL_SWAP unless for some reason p5 affects it this only works with objects as well.

Network players do not see changes done with this.

Syntax

mp.game.entity.createModelHide(x, y, z, radius, model, p5);

Required Arguments

  • x: float
  • y: float
  • z: float
  • radius: float
  • model: Model hash or name
  • p5: Boolean

Return value

  • Undefined

Example

// todo

See also

Template:Entity s function c