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

Fire::getPedInsideExplosionArea

Материал из RAGE MP Wiki Archive
Версия от 21:06, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Returns a handle to the first entity within the a circle spawned inside the 2 points from a radius. It could return a ped or an entity, but the scripts expect a ped, but still check if it's a ped.

Syntax

<syntaxhighlight lang="javascript">mp.game.fire.getPedInsideExplosionArea(explosionType, x1, y1, z1, x2, y2, z2, radius);</syntaxhighlight>

Required Arguments

  • explosionType: int
  • x1: float
  • y1: float
  • z1: float
  • x2: float
  • y2: float
  • z2: float
  • radius: float

Return value

  • Entity handle or object

Example

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

See also

Шаблон:Fire s function c