Native referenceRedM

GET_PROJECTILE_OF_PROJECTILE_TYPE_WITHIN_DISTANCE

0x9578986A6105A6AD MISC
FUNCTION SIGNATURE
BOOL GET_PROJECTILE_OF_PROJECTILE_TYPE_WITHIN_DISTANCE(`ped` (Ped), `weaponHash` (Hash), `distance` (float), `outCoords` (Vector3*), `outProjectile` (Object*), `p5` (BOOL), `mustBeOwnedByThisPed` (BOOL));
Property Value
Native Name GET_PROJECTILE_OF_PROJECTILE_TYPE_WITHIN_DISTANCE
Hash 0x9578986A6105A6AD
Return Type BOOL
Build 1207
Parameters ped (Ped), weaponHash (Hash), distance (float), outCoords (Vector3*), outProjectile (Object*), p5 (BOOL), mustBeOwnedByThisPed (BOOL)

Parameters

  • ped (Ped)
  • weaponHash (Hash)
  • distance (float)
  • outCoords (Vector3*)
  • outProjectile (Object*)
  • p5 (BOOL)
  • mustBeOwnedByThisPed (BOOL)

Usage

Lua (Direct):

local result = GetProjectileOfProjectileTypeWithinDistance(ped, weaponHash, distance, outCoords, outProjectile, p5, mustBeOwnedByThisPed)

Lua (Hash):

local result = Citizen.InvokeNative(0x9578986A6105A6AD, ped, weaponHash, distance, outCoords, outProjectile, p5, mustBeOwnedByThisPed)

Back to MISC