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

Gameplay::isSniperBulletInArea

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

Determines whether there is a sniper bullet within the specified coordinates. The coordinates form a rectangle.

- Nacorpio

Syntax

<syntaxhighlight lang="javascript">mp.game.gameplay.isSniperBulletInArea(x1, y1, z1, x2, y2, z2);</syntaxhighlight>

Required Arguments

  • x1: float
  • y1: float
  • z1: float
  • x2: float
  • y2: float
  • z2: float

Return value

  • Boolean

Example

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

See also