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

Entity::setAsMission

Материал из RAGE MP Wiki Archive
Версия от 18:03, 1 мая 2024; imported>Shr0x (See also)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Makes the specified entity (ped, vehicle or object) persistent. Persistent entities will not automatically be removed by the engine.

p1 has no effect when either its on or off
maybe a quick disassembly will tell us what it does

p2 has no effect when either its on or off
maybe a quick disassembly will tell us what it does

Syntax

<syntaxhighlight lang="javascript">entity.setAsMission(p1, byThisScript);</syntaxhighlight>

Required Arguments

  • p1: Boolean
  • byThisScript: Boolean

Return value

  • Undefined

Example

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

See also