Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. bagsb = [
  2. "B_Respawn_Sleeping_bag_blue_F", //backpack respawn sleeping bags
  3. "B_Respawn_Sleeping_bag_brown_F",
  4. "B_Respawn_Sleeping_bag_F",
  5.  
  6. "B_Respawn_TentDome_F", //backpack respawn tents
  7. "B_Respawn_TentA_F"
  8.  
  9. ];
  10. bags0 = [
  11. "I_UAV_01_backpack_F", //backpack UAVs
  12. "B_UAV_01_backpack_F",
  13. "O_UAV_01_backpack_F",
  14. "B_AssaultPack_Kerry" //backpack specials
  15. ];
  16.  
  17.  
  18.  
  19.  
  20.  
  21. private ["_mybox"];
  22.  
  23. if(getPlayerUID player in playerUidArray) exitWith {
  24. ["Open",true] spawn BIS_fnc_arsenal;
  25. };
  26.  
  27. if !( isServer ) exitWith {};
  28.  
  29. if(playerSide == west) then {
  30.  
  31.  
  32. [_mybox, true, true, false] call BIS_fnc_addVirtualWeaponCargo; // array of weapon classnames
  33. [_mybox, true, true, false] call BIS_fnc_addVirtualItemCargo; //array of items classnames
  34. [_mybox, bagsb, true, false] call BIS_fnc_addVirtualBackpackCargo; //b_bagsR = array of bags classnames
  35. [_mybox, true, true, false] call BIS_fnc_addVirtualMagazineCargo;
  36. ["Open",false] spawn BIS_fnc_arsenal;
  37. };
  38. };
  39.  
  40. if(playerSide == east) then {
  41.  
  42.  
  43. [_mybox, true, true, false] call BIS_fnc_addVirtualWeaponCargo; //array of weapon classnames
  44. [_mybox, true, true, false] call BIS_fnc_addVirtualItemCargo; //array of items classnames
  45. [_mybox, bags0, true, false] call BIS_fnc_addVirtualBackpackCargo; //array of bags classnames
  46. [_mybox, true, true, false] call BIS_fnc_addVirtualMagazineCargo;
  47. ["Open",false] spawn BIS_fnc_arsenal;
  48. };
  49. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement