{"name":"gearSlotAmmoCount","title":"gearSlotAmmoCount","type":"command","url":"https://community.bistudio.com/wiki/gearSlotAmmoCount","revid":376113,"updated":"2025-08-26T21:33:41Z","groups":["Unit Inventory","GUI Control"],"status":"ok","games":{"arma2oa":"1.62","tkoh":"1.00","arma3":"0.50"},"since":"arma2oa 1.62","arma3_since":"0.50","description":"Returns ammo count of assigned magazine.","syntaxes":[{"syntax":"gearSlotAmmoCount control","params":[{"name":"control","type":"Control","description":"`CT_ITEMSLOT 103`","type_expr":"Control"}],"returns":{"type":"Number","type_expr":"Number"},"form":"unary","right":{"text":"control"}}],"examples":[{"code":["private _ammoCount = gearSlotAmmoCount _control;"]}],"see_also":["gearSlotData","gearIDCAmmoCount"]}