Warning: file_put_contents(/ff_f71c697347a1fb2258aeec182ff2fc00a7a8b601d295087a.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
addItemCargo - OFPEC Scripting Command Reference | OFPEC The Editing Center

unitName addItemCargo [item, count]

Operand types

unitName: Object
[item, count]: Array

Type of returned value

Description

Create new items and store them to the weapon holder.

item - String
count - Number

Used In

Arma3

Example

ammoTruckOne addItemCargo ["optic_ARCO", 10]

Advertisement