GetAmmoInPedWeapon — FiveM Natives
0x015A522136D7F951 · WEAPON · all
`` WEAPON::GET_AMMO_IN_PED_WEAPON(PLAYER::PLAYER_PED_ID(), a_0) From decompiled scripts Returns total ammo in weapon GTALua Example : natives.WEAPON.GET_AMMO_IN_PED_WEAPON(plyPed, WeaponHash) ``
Parameters
| Name | Type |
|---|---|
| ped | Ped |
| weaponhash | Hash |
Returns
int