Skip to main content

Gameplay::getCoordsOfProjectileTypeInArea

Client-side function

JavaScript​

Checks if a projectile object of the specified type is in the given area

Required Params​

  • minX: Float
  • minY: Float
  • minZ: Float
  • maxX: Float
  • maxY: Float
  • maxZ: Float
  • projectileHash: number
  • isPlayer: boolean

Return value​

  • Vector3

Syntax​

mp.game.gameplay.getCoordsOfProjectileTypeInArea(minX, minY, minZ, maxX, maxY, maxZ, projectileHash, isPlayer);

Example​

//todo