Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (isServer) then {
- //to add other box, just copy the code from here ------
- _vehicle_2 = objNull;
- if (true) then
- {
- _this = createVehicle ["BAF_VehicleBox", [16411.771, 18472.596, 0.010464123], [], 0, "CAN_COLLIDE"];
- _vehicle_2 = _this;
- _this setPos [16411.771, 18472.596, 0.010464123];
- //cleanup the box
- clearweaponcargoGlobal _this;
- clearmagazinecargoGlobal _this;
- //add weapon
- _this addWeaponCargoGlobal ["DMR",1];
- //add magazine
- _this addMagazineCargoGlobal ["5Rnd_127x108_KSVK",10];
- //add itens
- _this addMagazineCargoGlobal ["ItemMorphine",10];
- //add toolbelt itens. You can add with the weapons, but you can keep things organized like this
- _this addWeaponCargoGlobal ["NVGoggles",2];
- };
- //... until here, and just change the position
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement