how to Create Custom Weapon box?(to add I made Example)
But Can't See go to Location In game
--------------------
private ["_currBox","_selectedBoxPos"];
_currBox = createVehicle ["RUBasicWeaponsBox", _selectedBoxPos, [], 30, "NONE"]
//_currBox = "RUBasicWeaponsBox" createVehicle (getPos spawnLogic);
_currBox setPos [10373.1,2234.46,0.031];
_currBox setDir 209;
// Clear prexisting weapons first
clearMagazineCargoGlobal _currBox;
clearWeaponCargoGlobal _currBox;
// Add new weapons before ammunition
_currBox addWeaponCargoGlobal ["Saiga12K",10];
_currBox addWeaponCargoGlobal ["M9",10];
_currBox addWeaponCargoGlobal ["MP5A5",2];
// Add ammunition
_currBox addMagazineCargoGlobal ["8Rnd_B_Saiga12_74Slug",50];
_currBox addMagazineCargoGlobal ["8Rnd_B_Saiga12_Pellets",50];
_currBox addMagazineCargoGlobal ["15Rnd_9x19_M9",50];
_currBox addMagazineCargoGlobal ["30Rnd_9x19_MP5",50];
----------- copy lines by Weastland 3.0 github and i edited
------------ line in misson's init.sqf file
[] execVM "filename.sqf";
Ask for advice please...
and sorry for my bad English!
But Can't See go to Location In game
--------------------
private ["_currBox","_selectedBoxPos"];
_currBox = createVehicle ["RUBasicWeaponsBox", _selectedBoxPos, [], 30, "NONE"]
//_currBox = "RUBasicWeaponsBox" createVehicle (getPos spawnLogic);
_currBox setPos [10373.1,2234.46,0.031];
_currBox setDir 209;
// Clear prexisting weapons first
clearMagazineCargoGlobal _currBox;
clearWeaponCargoGlobal _currBox;
// Add new weapons before ammunition
_currBox addWeaponCargoGlobal ["Saiga12K",10];
_currBox addWeaponCargoGlobal ["M9",10];
_currBox addWeaponCargoGlobal ["MP5A5",2];
// Add ammunition
_currBox addMagazineCargoGlobal ["8Rnd_B_Saiga12_74Slug",50];
_currBox addMagazineCargoGlobal ["8Rnd_B_Saiga12_Pellets",50];
_currBox addMagazineCargoGlobal ["15Rnd_9x19_M9",50];
_currBox addMagazineCargoGlobal ["30Rnd_9x19_MP5",50];
----------- copy lines by Weastland 3.0 github and i edited
------------ line in misson's init.sqf file
[] execVM "filename.sqf";
Ask for advice please...
and sorry for my bad English!