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

unitName addItemCargoGlobal [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

This command is executed on all connected clients in multiplayer.

Used In

Arma3

Example

ammoTruckOne addItemCargoGlobal ["optic_ARCO", 10];

Advertisement