Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Creates a new item and stores it in the soldier's chestpack. The item can also be a weapon or a magazine. The item(s) won't be added, if adding them would cause an overflow of the backpack.
0: Unit <OBJECT>
1: Item/Magazine/Weapon Classname <STRING>
2: Amount <NUMBER> (optional | default: 1)
[player,"FirstAidKit"] call zade_boc_fnc_addItemToChestpack;
[player,"hgun_P07_F",10] call zade_boc_fnc_addItemToChestpack;