The pylon indices start at 1 and not at 0.
Description
Returns ammo count on given pylon (or false on failure).
Syntax
vehicle ammoOnPylon pylon
Parameters:
Returns: Number or Boolean - false on failure
Examples
Example 1
private _ammoCount = (vehicle player) ammoOnPylon "pylon1";
Example 2
hint str (vehicle player ammoOnPylon "pylonCenter");
See also
Arma 3: Vehicle Loadouts · setAmmoOnPylon · getCompatiblePylonMagazines · getPylonMagazines · animatePylon · animateBay · setPylonsPriority · setPylonLoadout