Skip to content

zade_boc_fnc_removeMagFromChestpack

DerZade edited this page Jan 14, 2017 · 3 revisions

Description:

Removes magazine from unit's chestpack. The purpose of this function is to ensure that magazines with a specified ammo count can be removed. If you want to remove a magazine with just any amount of ammo you may want to use zade_boc_fnc_removeItemFromChestpack instead.

Arguments:

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

Return Value:

Nothing

Examples:

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