Native referenceFiveM

GET_AMMO_IN_PED_WEAPON

0x015A522136D7F951 WEAPON
FUNCTION SIGNATURE
int GET_AMMO_IN_PED_WEAPON(Ped ped, Hash weaponhash);
Property Value
Native Name GET_AMMO_IN_PED_WEAPON
Hash 0x015A522136D7F951
Return Type int
Parameters ped (Ped), weaponhash (Hash)

Description: ``` 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)

Back to WEAPON