Native referenceFiveM

GET_BEST_PED_WEAPON

0x8483E98E8B888AE2 WEAPON
FUNCTION SIGNATURE
Hash GET_BEST_PED_WEAPON(Ped ped, BOOL ignoreAmmoCount);
Property Value
Native Name GET_BEST_PED_WEAPON
Hash 0x8483E98E8B888AE2
Return Type Hash
Parameters ped (Ped), ignoreAmmoCount (BOOL)

Parameters

  • ped (Ped)
  • ignoreAmmoCount (BOOL) — If set to true, the best weapon can have no ammo, otherwise, it will return the best weapon with ammo. Default value is 0.
Back to WEAPON