WEAPON
GET_PED_AMMO_TYPE_FROM_WEAPON
0x7FEAD38B326B9F74
Jenkins: 0x09337863
Signature
// WEAPON
Hash GET_PED_AMMO_TYPE_FROM_WEAPON(Ped ped, Hash weaponHash)
Parameters
| Type | Name |
|---|---|
| Ped | ped |
| Hash | weaponHash |
Return type Hash
Build 323
Former names
- _GET_PED_AMMO_TYPE
Documentation
Returns the current ammo type of the specified ped's specified weapon. MkII magazines will change the return value, like Pistol MkII returning AMMO_PISTOL without any components and returning AMMO_PISTOL_TRACER after Tracer Rounds component is attached. Use 0xF489B44DD5AF4BD9 if you always want AMMO_PISTOL. Full list of weapons by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/weapons.json
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.