{"name":"gearIDCAmmoCount","title":"gearIDCAmmoCount","type":"command","url":"https://community.bistudio.com/wiki/gearIDCAmmoCount","revid":363874,"updated":"2024-04-23T21:04:42Z","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":"gearIDCAmmoCount idc","params":[{"name":"idc","type":"Number","description":"idc of control type CT_ITEMSLOT 103","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number"},"form":"unary","right":{"text":"idc"}}],"examples":[{"code":["_ammoCount = gearIDCAmmoCount _control;"]}],"see_also":["gearSlotData","gearSlotAmmoCount"]}