Advertisement
Guest User

Untitled

a guest
May 27th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. if (isServer) then {
  2.  
  3. //to add other box, just copy the code from here ------
  4. _vehicle_2 = objNull;
  5. if (true) then
  6. {
  7. _this = createVehicle ["BAF_VehicleBox", [16411.771, 18472.596, 0.010464123], [], 0, "CAN_COLLIDE"];
  8. _vehicle_2 = _this;
  9. _this setPos [16411.771, 18472.596, 0.010464123];
  10.  
  11. //cleanup the box
  12. clearweaponcargoGlobal _this;
  13. clearmagazinecargoGlobal _this;
  14.  
  15. //add weapon
  16. _this addWeaponCargoGlobal ["DMR",1];
  17.  
  18. //add magazine
  19. _this addMagazineCargoGlobal ["5Rnd_127x108_KSVK",10];
  20.  
  21. //add itens
  22. _this addMagazineCargoGlobal ["ItemMorphine",10];
  23.  
  24. //add toolbelt itens. You can add with the weapons, but you can keep things organized like this
  25. _this addWeaponCargoGlobal ["NVGoggles",2];
  26. };
  27. //... until here, and just change the position
  28.  
  29. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement