Skip to content

zade_boc_fnc_addMagToChestpack

DerZade edited this page Dec 18, 2016 · 5 revisions

Description:

Creates new magazine and stores it in the soldier's chestpack. Only magazines are supported. The purpose of this function is to ensure that magazines with a specified ammo count can be added. If you want to add a/multiple full magazine(s) you may want to use zade_boc_addItemToChestpack instead.

Arguments:

0: Unit <OBJECT>
1: Classname <STRING>
2: Ammo Count <NUMBER>

Return Value:

Nothing

Examples:

[player,"30Rnd_556x45_Stanag",25] call zade_boc_fnc_addMagToChestpack;