Перейти к содержанию

Entity::createModelHide

Материал из RAGE MP Wiki Archive

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

<syntaxhighlight lang="javascript">mp.game.entity.createModelHide(x, y, z, radius, model, p5);</syntaxhighlight>

Required Arguments

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

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also

Шаблон:Entity s function c