Gameplay::getCoordsOfProjectileTypeWithinDistance
Client-Side Function
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