gearIDCAmmoCount: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "|= Game version" to "|Game version=")
Line 4: Line 4:
| arma2oa |Game name=
| arma2oa |Game name=


|1.62|= Game version <!-- First mentioned in TOH patch notes. -->
|1.62|Game version= <!-- First mentioned in TOH patch notes. -->
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 23:35, 31 August 2019

Hover & click on the images for description

Description

Description:
Returns ammo count of assigned magazine.
Groups:
Uncategorised

Syntax

Syntax:
gearIDCAmmoCount idc
Parameters:
idc: Number - idc of control type CT_ITEMSLOT 103
Return Value:
Number

Examples

Example 1:
ammo = gearIDCAmmoCount _control;

Additional Information

See also:
gearSlotDatagearSlotAmmoCountsetGearSlotAmmoCoutsetIDCAmmoCount

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section