Skip to main content

Fire::getPedInsideExplosionArea

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​

```js mp.game.fire.getPedInsideExplosionArea(explosionType, x1, y1, z1, x2, y2, z2, radius); ```

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​

```js // todo ```

See also​