Gameplay::isProjectileTypeInArea

From RAGE Multiplayer Wiki
Revision as of 10:06, 22 July 2024 by Shr0x (talk | contribs) (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Note: This native hasn't been tested yet.

- Nacorpio

Syntax

mp.game.gameplay.isProjectileTypeInArea(x1, y1, z1, x2, y2, z2, type, p7);

Required Arguments

  • x1: float
  • y1: float
  • z1: float
  • x2: float
  • y2: float
  • z2: float
  • type: int
  • p7: Boolean

Return value

  • Boolean

Example

// todo

See also