Gameplay::isProjectileInArea

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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

- Nacorpio


ownedByPlayer = only projectiles fired by the player will be detected.

Syntax

mp.game.gameplay.isProjectileInArea(x1, y1, z1, x2, y2, z2, ownedByPlayer);

Required Arguments

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

Return value

  • Boolean

Example

// todo

See also

Template:Gameplay s function c