Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bagsb = [
- "B_Respawn_Sleeping_bag_blue_F", //backpack respawn sleeping bags
- "B_Respawn_Sleeping_bag_brown_F",
- "B_Respawn_Sleeping_bag_F",
- "B_Respawn_TentDome_F", //backpack respawn tents
- "B_Respawn_TentA_F"
- ];
- bags0 = [
- "I_UAV_01_backpack_F", //backpack UAVs
- "B_UAV_01_backpack_F",
- "O_UAV_01_backpack_F",
- "B_AssaultPack_Kerry" //backpack specials
- ];
- private ["_mybox"];
- if(getPlayerUID player in playerUidArray) exitWith {
- ["Open",true] spawn BIS_fnc_arsenal;
- };
- if !( isServer ) exitWith {};
- if(playerSide == west) then {
- [_mybox, true, true, false] call BIS_fnc_addVirtualWeaponCargo; // array of weapon classnames
- [_mybox, true, true, false] call BIS_fnc_addVirtualItemCargo; //array of items classnames
- [_mybox, bagsb, true, false] call BIS_fnc_addVirtualBackpackCargo; //b_bagsR = array of bags classnames
- [_mybox, true, true, false] call BIS_fnc_addVirtualMagazineCargo;
- ["Open",false] spawn BIS_fnc_arsenal;
- };
- };
- if(playerSide == east) then {
- [_mybox, true, true, false] call BIS_fnc_addVirtualWeaponCargo; //array of weapon classnames
- [_mybox, true, true, false] call BIS_fnc_addVirtualItemCargo; //array of items classnames
- [_mybox, bags0, true, false] call BIS_fnc_addVirtualBackpackCargo; //array of bags classnames
- [_mybox, true, true, false] call BIS_fnc_addVirtualMagazineCargo;
- ["Open",false] spawn BIS_fnc_arsenal;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement