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

Entity::doesExist

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

Checks if the Entity exists

Syntax

<syntaxhighlight lang="javascript">entity.doesExist();</syntaxhighlight>

Required Arguments

Return value

  • Number

Example

<syntaxhighlight lang="javascript">

  obj = mp.objects.new('prop_cardbordbox_02a', localPlayer.position,{});
  obj.doesExist();

</syntaxhighlight>

See also