Gameplay::getCoordsOfProjectileTypeWithinDistance

From RAGE Multiplayer Wiki

Client-Side
Function

 JavaScript



JavaScript Syntax

Checks that a projectile object of the specified type is within distance

Required Params

  • ped: number
  • weaponHash: number
  • radius: Float
  • isPlayer: boolean

Return value

  • { entity: number; } Object


Syntax

mp.game.gameplay.getCoordsOfProjectileTypeWithinDistance(ped, weaponHash, radius, isPlayer);

Example

//todo


See also