gearSlotAmmoCount: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\|= * " to " ")
Line 13: Line 13:
| [[gearSlotAmmoCount]] control|SYNTAX=
| [[gearSlotAmmoCount]] control|SYNTAX=


|p1= control: [[Control]] - CT_ITEMSLOT 103 |=
|p1= control: [[Control]] - CT_ITEMSLOT 103





Revision as of 21:34, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns ammo count of assigned magazine.
Groups:
Unit InventoryGUI Control

Syntax

Syntax:
gearSlotAmmoCount control
Parameters:
control: Control - CT_ITEMSLOT 103
Return Value:
Number

Examples

Example 1:
ammo = gearSlotAmmoCount _control;

Additional Information

See also:
gearSlotDatagearIDCAmmoCount

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