TheAce106

Untitled

Dec 29th, 2014
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 25.83 KB | None | 0 0
  1. #include <macro.h>
  2. /*
  3.     File: fn_weaponShopCfg.sqf
  4.     Author: Bryan "Tonic" Boardwine
  5.    
  6.     Description:
  7.     Master configuration file for the weapon shops.
  8.    
  9.     Return:
  10.     String: Close the menu
  11.     Array:
  12.     [Shop Name,
  13.     [ //Array of items to add to the store
  14.         [classname,Custom Name (set nil for default),price]
  15.     ]]
  16. */
  17. private["_shop"];
  18. _shop = [_this,0,"",[""]] call BIS_fnc_param;
  19. if(_shop == "") exitWith {closeDialog 0}; //Bad shop type passed.
  20.  
  21. switch(_shop) do
  22. {
  23.     case "cop_basic":
  24.     {
  25.         switch(true) do
  26.         {
  27.             case (playerSide != west): {"You are not a cop!"};
  28.             default
  29.             {
  30.                 ["Altis Cop Shop",
  31.                     [
  32.                         ["SMG_01_F","Taser",20000],
  33.                         ["hgun_P07_snds_F","Stun Pistol",2000],
  34.                         ["hgun_P07_F",nil,750],
  35.                         ["hgun_Pistol_heavy_02_F","Revolver",12000],
  36.                         ["6Rnd_45ACP_Cylinder",nil,250],
  37.                         ["Binocular",nil,150],
  38.                         ["ItemGPS",nil,100],
  39.                         ["ToolKit",nil,250],
  40.                         ["muzzle_snds_L",nil,650],
  41.                         ["FirstAidKit",nil,150],
  42.                         ["Medikit",nil,1000],
  43.                         ["NVGoggles",nil,2000],
  44.                         ["16Rnd_9x21_Mag",nil,50],
  45.                         ["30Rnd_45ACP_Mag_SMG_01","Taser Magazine",125]
  46.                     ]
  47.                 ];
  48.             };
  49.         };
  50.     };
  51.    
  52.     case "med_basic":
  53.     {
  54.         switch (true) do
  55.         {
  56.             case (playerSide != independent): {"You are not an EMS Medic"};
  57.             default {
  58.                 ["Hospital EMS Shop",
  59.                     [
  60.                         ["ItemGPS",nil,100],
  61.                         ["Binocular",nil,150],
  62.                         ["ToolKit",nil,250],
  63.                         ["FirstAidKit",nil,150],
  64.                         ["Medikit",nil,500],
  65.                         ["NVGoggles",nil,1200],
  66.                         ["B_FieldPack_ocamo",nil,3000]
  67.                     ]
  68.                 ];
  69.             };
  70.         };
  71.     };
  72.  
  73.     case "cop_patrol":
  74.     {
  75.         switch(true) do
  76.         {
  77.             case (playerSide != west): {"You are not a cop!"};
  78.             case (__GETC__(life_coplevel) < 2): {"You are not at a patrol officer!"};
  79.             default
  80.             {
  81.                 ["Altis Patrol Officer Shop",
  82.                     [
  83.                         ["arifle_MX_F",nil,35000],
  84.                         ["arifle_MXC_Black_F",nil,35000],
  85.                         ["SMG_02_ACO_F",nil,30000],
  86.                         ["MineDetector",nil,1000],
  87.                         ["30Rnd_65x39_caseless_mag",nil,130],
  88.                         ["30Rnd_9x21_Mag",nil,250],
  89.                         ["HandGrenade_Stone","Flashbang",1700]
  90.                     ]
  91.                 ];
  92.             };
  93.         };
  94.     };
  95.  
  96.     case "cop_sergeant":
  97.     {
  98.         switch(true) do
  99.         {
  100.             case (playerSide != west): {"You are not a cop!"};
  101.             case (__GETC__(life_coplevel) < 3): {"You are not at a sergeant!"};
  102.             default
  103.             {
  104.                 ["Altis Sergeant Shop",
  105.                     [
  106.                         ["arifle_MXM_F",nil,25000],
  107.                         ["arifle_MXM_Black_F",nil,25500],
  108.                         ["arifle_MX_GL_F",nil,17000],
  109.                         ["arifle_MX_GL_Black_F",nil,17500],
  110.                         ["arifle_MXC_F",nil,30000],
  111.                         ["30Rnd_65x39_caseless_mag",nil,100],
  112.                         ["3Rnd_SmokeGreen_Grenade_shell",nil,5],
  113.                         ["HandGrenade_Stone","Flashbang",1700]
  114.                     ]
  115.                 ];
  116.             };
  117.         };
  118.     };
  119.  
  120.     case "cop_seniorsergeant":
  121.     {
  122.         switch(true) do
  123.         {
  124.             case (playerSide != west): {"You are not a cop!"};
  125.             case (__GETC__(life_coplevel) < 4): {"You are not at a senior sergeant!"};
  126.             default
  127.             {
  128.                 ["Altis Senior Sergeant Shop",
  129.                     [
  130.                         ["arifle_MX_SW_F",nil,50000],
  131.                         ["arifle_MX_SW_Black_F",nil,55000],
  132.                         ["srifle_DMR_01_F",nil,175000],
  133.                         ["100Rnd_65x39_caseless_mag",nil,1200],
  134.                         ["10Rnd_762x51_Mag",nil,1300],
  135.                         ["HandGrenade_Stone","Flashbang",1700]
  136.                     ]
  137.                 ];
  138.             };
  139.         };
  140.     };
  141.  
  142.     case "cop_lieutenant":
  143.     {
  144.         switch(true) do
  145.         {
  146.             case (playerSide != west): {"You are not a cop!"};
  147.             case (__GETC__(life_coplevel) < 5): {"You are not at a lieutenant!"};
  148.             default
  149.             {
  150.                 ["Altis Lieutenant Shop",
  151.                     [
  152.                         ["LMG_Mk200_F",nil,150000],
  153.                         ["srifle_EBR_F",nil,200000],
  154.                         ["SMG_01_F",nil,17000],
  155.                         ["200Rnd_65x39_cased_Box",nil,2750],
  156.                         ["20Rnd_762x51_Mag",nil,10000],
  157.                         ["30Rnd_45ACP_MAG_SMG_01",nil,600],
  158.                         ["HandGrenade_Stone","Flashbang",1700]
  159.                     ]
  160.                 ];
  161.             };
  162.         };
  163.     };
  164.  
  165.     case "cop_captain":
  166.     {
  167.         switch(true) do
  168.         {
  169.             case (playerSide != west): {"You are not a cop!"};
  170.             case (__GETC__(life_coplevel) < 6): {"You are not at a Captain!"};
  171.             default
  172.             {
  173.                 ["Altis Captain Shop",
  174.                     [
  175.                         ["srifle_LRR_F",nil,300000],
  176.                         ["LMG_Zafir_F",nil,250000],
  177.                         ["launch_RPG32_F","nil",100000],
  178.                         ["150Rnd_762x51_Box",nil,2750],
  179.                         ["7Rnd_408_Mag",nil,1000],
  180.                         ["RPG32_HE_F",nil,60000],
  181.                         ["HandGrenade_Stone","Flashbang",1700]
  182.                     ]
  183.                 ];
  184.             };
  185.         };
  186.     };
  187.  
  188.     case "cop_chief":
  189.     {
  190.         switch(true) do
  191.         {
  192.             case (playerSide != west): {"You are not a cop!"};
  193.             case (__GETC__(life_coplevel) < 7): {"You aint the Chief!"};
  194.             default
  195.             {
  196.                 ["Altis Chief Of Police Shop",
  197.                     [
  198.                         ["srifle_GM6_camo_SOS_F",nil,150000],
  199.                         ["LMG_Zafir_F",nil,175000],
  200.                         ["launch_NLAW_F",nil,17000],
  201.                         ["hgun_Pistol_heavy_01_F",nil,30000],
  202.                         ["5Rnd_127x108_APDS_Mag",nil,2500],
  203.                         ["150Rnd_762x51_Box",nil,2750],
  204.                         ["NLAW_F",nil,10000],
  205.                         ["11Rnd_45ACP_Mag",nil,60],
  206.                         ["Laserdesignator",nil,600],
  207.                         ["Laserbatteries",nil,60],
  208.                         ["optic_Nightstalker",nil,600],
  209.                         ["HandGrenade_Stone","Flashbang",1700]
  210.                     ]
  211.                 ];
  212.             };
  213.         };
  214.     };
  215.  
  216.     case "cop_equipment":
  217.     {
  218.         switch(true) do
  219.         {
  220.             case (playerSide != west): {"You are not a cop!"};
  221.             case (__GETC__(life_coplevel) < 2): {"You are not at a cop!"};
  222.             default
  223.             {
  224.                 ["Altis Equipment Shop",
  225.                     [
  226.                         ["muzzle_snds_H",nil,1000],
  227.                         ["muzzle_snds_L",nil,1000],
  228.                         ["muzzle_snds_M",nil,1000],
  229.                         ["muzzle_snds_H_MG",nil,1000],
  230.                         ["muzzle_snds_acp",nil,1000],
  231.                         ["muzzle_snds_B",nil,1000],
  232.                         ["optic_Arco",nil,1000],
  233.                         ["optic_Hamr",nil,1000],
  234.                         ["optic_Aco",nil,1000],
  235.                         ["optic_ACO_grn",nil,1000],
  236.                         ["optic_Aco_smg",nil,1000],
  237.                         ["optic_ACO_grn_smg",nil,1000],
  238.                         ["optic_Holosight",nil,1000],
  239.                         ["optic_Holosight_smg",nil,1000],
  240.                         ["optic_SOS",nil,1000],
  241.                         ["acc_flashlight",nil,1000],
  242.                         ["acc_pointer_IR",nil,1000],
  243.                         ["optic_MRCO",nil,1000],
  244.                         ["optic_DMS",nil,1000],
  245.                         ["optic_Yorris",nil,1000],
  246.                         ["optic_MRD",nil,1000],
  247.                         ["optic_LRPS",nil,10000],
  248.                         ["optic_NVS",nil,10000],
  249.                         ["optic_tws",nil,10000],
  250.                         ["optic_tws_mg",nil,10000],
  251.                         ["Rangefinder",nil,1000],
  252.                         ["SmokeShellGreen",nil,1000],
  253.                         ["SmokeShellRed",nil,1000]
  254.                     ]
  255.                 ];
  256.             };
  257.         };
  258.     };
  259.    
  260.     case "rebel":
  261.     {
  262.         switch(true) do
  263.         {
  264.             case (playerSide != civilian): {"You are not a civilian!"};
  265.             case (!license_civ_rebel): {"You don't have a Rebel training license!"};
  266.             default
  267.             {
  268.                 ["Mohammed's Jihadi Shop",
  269.                     [
  270.                         ["hgun_Rook40_F",nil,8450],
  271.                         ["16Rnd_9x21_Mag",nil,1300],
  272.                         ["30Rnd_9x21_Mag",nil,1950],
  273.                         ["hgun_Pistol_heavy_02_F",nil,12805],
  274.                         ["6Rnd_45ACP_Cylinder",nil,650],
  275.                         ["hgun_ACPC2_F",nil,14950],
  276.                         ["9Rnd_45ACP_Mag",nil,910],
  277.                         ["11Rnd_45ACP_Mag",nil,5850],
  278.                         ["hgun_PDW2000_F",nil,15600],
  279.                         ["30Rnd_9x21_Mag",nil,1950],
  280.                         ["SMG_02_F",nil,10400],
  281.                         ["30Rnd_9x21_Mag",nil,1950],
  282.                         ["SMG_01_F",nil,10400],
  283.                         ["30Rnd_45ACP_Mag_SMG_01",nil,5200],
  284.                         ["arifle_Mk20C_F",nil,260000],
  285.                         ["30Rnd_556x45_Stanag",nil,6500],
  286.                         ["arifle_TRG20_F",nil,260000],
  287.                         ["30Rnd_556x45_Stanag",nil,6500],
  288.                         ["arifle_SDAR_F",nil,208000],
  289.                         ["20Rnd_556x45_UW_mag",nil,2600],
  290.                         ["arifle_Katiba_F",nil,325000],
  291.                         ["arifle_MXC_Black_F",nil,390000],
  292.                         ["arifle_MX_Black_F",nil,390000],
  293.                         ["arifle_MXM_Black_F",nil,455000],
  294.                         ["30Rnd_65x39_caseless_mag_Tracer",nil,6500],
  295.                         ["30Rnd_65x39_caseless_mag",nil,8450],
  296.                         ["30Rnd_65x39_caseless_green",nil,6500],
  297.                         ["arifle_MX_SW_Black_F",nil,520000],
  298.                         ["100Rnd_65x39_caseless_mag",nil,10400],
  299.                         ["100Rnd_65x39_caseless_mag_Tracer",nil,10400],
  300.                         ["LMG_Mk200_F",nil,520000],
  301.                         ["200Rnd_65x39_cased_Box",nil,19500],
  302.                         ["LMG_Zafir_F",nil,780000],
  303.                         ["150Rnd_762x51_Box",nil,13000],
  304.                         ["srifle_EBR_F",nil,390000],
  305.                         ["20Rnd_762x51_Mag",nil,7800],
  306.                         ["srifle_DMR_01_F",nil,58500],
  307.                         ["10Rnd_762x51_Mag",nil,5200],
  308.                         ["srifle_LRR_LRPS_F",nil,910000],
  309.                         ["7Rnd_408_Mag",nil,26000]
  310.                     ]
  311.                 ];
  312.             };
  313.         };
  314.     };
  315.  
  316.     case "terrorist":
  317.     {
  318.         switch(true) do
  319.         {
  320.             case (playerSide != civilian): {"You are not a civilian!"};
  321.             case (!license_civ_terrorist): {"You are not one with Allah!"};
  322.             default
  323.             {
  324.                 ["Allahs Weapon Shop",
  325.                     [
  326.                         ["hgun_Rook40_F",nil,7150],
  327.                         ["16Rnd_9x21_Mag",nil,1100],
  328.                         ["30Rnd_9x21_Mag",nil,1650],
  329.                         ["hgun_Pistol_heavy_02_F",nil,10835],
  330.                         ["6Rnd_45ACP_Cylinder",nil,550],
  331.                         ["hgun_ACPC2_F",nil,12650],
  332.                         ["9Rnd_45ACP_Mag",nil,770],
  333.                         ["11Rnd_45ACP_Mag",nil,4950],
  334.                         ["hgun_PDW2000_F",nil,13200],
  335.                         ["30Rnd_9x21_Mag",nil,1650],
  336.                         ["SMG_02_F",nil,8800],
  337.                         ["30Rnd_9x21_Mag",nil,1650],
  338.                         ["SMG_01_F",nil,8800],
  339.                         ["30Rnd_45ACP_Mag_SMG_01",nil,4400],
  340.                         ["arifle_Mk20C_F",nil,220000],
  341.                         ["30Rnd_556x45_Stanag",nil,5500],
  342.                         ["arifle_TRG20_F",nil,220000],
  343.                         ["30Rnd_556x45_Stanag",nil,5500],
  344.                         ["arifle_SDAR_F",nil,176000],
  345.                         ["20Rnd_556x45_UW_mag",nil,2200],
  346.                         ["arifle_Katiba_F",nil,275000],
  347.                         ["arifle_MXC_Black_F",nil,330000],
  348.                         ["arifle_MX_Black_F",nil,330000],
  349.                         ["arifle_MXM_Black_F",nil,385000],
  350.                         ["30Rnd_65x39_caseless_mag_Tracer",nil,5500],
  351.                         ["30Rnd_65x39_caseless_mag",nil,7150],
  352.                         ["30Rnd_65x39_caseless_green",nil,5500],
  353.                         ["arifle_MX_SW_Black_F",nil,440000],
  354.                         ["100Rnd_65x39_caseless_mag",nil,8800],
  355.                         ["100Rnd_65x39_caseless_mag_Tracer",nil,8800],
  356.                         ["LMG_Mk200_F",nil,440000],
  357.                         ["200Rnd_65x39_cased_Box",nil,16500],
  358.                         ["LMG_Zafir_F",nil,660000],
  359.                         ["150Rnd_762x51_Box",nil,11000],
  360.                         ["srifle_EBR_F",nil,330000],
  361.                         ["20Rnd_762x51_Mag",nil,6600],
  362.                         ["srifle_DMR_01_F",nil,49500],
  363.                         ["10Rnd_762x51_Mag",nil,4400],
  364.                         ["srifle_LRR_LRPS_F",nil,770000],
  365.                         ["7Rnd_408_Mag",nil,22000]
  366.                     ]
  367.                 ];
  368.             };
  369.         };
  370.     };
  371.  
  372.     case "bounty-hunter":
  373.     {
  374.         switch(true) do
  375.         {
  376.             case (playerSide != civilian): {"You are not a civilian!"};
  377.             case (!license_civ_bountyhunter): {"You are not part of the Dog Pack!!"};
  378.             default
  379.             {
  380.                 ["Dogs Weapon Shop",
  381.                     [
  382.                         ["arifle_TRG20_F",nil,25000],
  383.                         ["arifle_MXC_Black_F",nil,45000],
  384.                         ["arifle_MXM_Black_F",nil,55500],
  385.                         ["hgun_P07_snds_F","Stun Pistol",12000],
  386.                         ["hgun_Pistol_heavy_02_F","Revolver",12000],
  387.                         ["30Rnd_65x39_caseless_mag",nil,100],
  388.                         ["hgun_P07_F",nil,7500],
  389.                         ["6Rnd_45ACP_Cylinder",nil,250],
  390.                         ["Binocular",nil,150],
  391.                         ["ItemGPS",nil,100],
  392.                         ["ToolKit",nil,250],
  393.                         ["NVGoggles",nil,1200],
  394.                         ["FirstAidKit",nil,150],
  395.                         ["optic_SOS",nil,1000],
  396.                         ["optic_Arco",nil,1000],
  397.                         ["optic_ACO_grn",nil,1000]
  398.                     ]
  399.                 ];
  400.             };
  401.         };
  402.     }; 
  403.  
  404.     case "ch7W":
  405.     {
  406.         switch(true) do
  407.         {
  408.             case (playerSide != civilian): {"You are not a civilian!"};
  409.             case (!license_civ_ch7): {"You are not a new representative!"};
  410.             default
  411.             {
  412.                 ["Ch7 Camera Shop",
  413.                     [
  414.                         ["launch_I_Titan_short_F","Small Camera",25000],
  415.                         ["launch_O_Titan_F","Large Camera",30000],
  416.                         ["Chemlight_red",nil,100],
  417.                         ["Chemlight_yellow",nil,100],
  418.                         ["Chemlight_green",nil,100],
  419.                         ["Chemlight_blue",nil,100],
  420.                         ["ToolKit",nil,250],
  421.                         ["FirstAidKit",nil,100],
  422.                         ["ItemGPS",nil,200]
  423.                     ]
  424.                 ];
  425.             };
  426.         };
  427.     }; 
  428.    
  429.     case "gun":
  430.     {
  431.         switch(true) do
  432.         {
  433.             case (playerSide != civilian): {"You are not a civilian!"};
  434.             case (!license_civ_gun): {"You don't have a Firearms license!"};
  435.             default
  436.             {
  437.                 ["Billy Joe's Firearms",
  438.                     [
  439.                         ["hgun_Rook40_F",nil,6500],
  440.                         ["hgun_Pistol_heavy_02_F",nil,9850],
  441.                         ["hgun_ACPC2_F",nil,11500],
  442.                         ["hgun_PDW2000_F",nil,20000],
  443.                         ["optic_ACO_grn_smg",nil,2500],
  444.                         ["V_Rangemaster_belt",nil,4900],
  445.                         ["16Rnd_9x21_Mag",nil,25],
  446.                         ["9Rnd_45ACP_Mag",nil,45],
  447.                         ["6Rnd_45ACP_Cylinder",nil,50],
  448.                         ["30Rnd_9x21_Mag",nil,75]
  449.                     ]
  450.                 ];
  451.             };
  452.         };
  453.     };
  454.    
  455.     case "gang":
  456.     {
  457.         switch(true) do
  458.         {
  459.             case (playerSide != civilian): {"You are not a civilian!"};
  460.             default
  461.             {
  462.                 ["Hideout Armament",
  463.                     [
  464.                         ["hgun_Rook40_F",nil,1500],
  465.                         ["hgun_Pistol_heavy_02_F",nil,2500],
  466.                         ["hgun_ACPC2_F",nil,4500],
  467.                         ["hgun_PDW2000_F",nil,9500],
  468.                         ["optic_ACO_grn_smg",nil,950],
  469.                         ["V_Rangemaster_belt",nil,1900],
  470.                         ["16Rnd_9x21_Mag",nil,25],
  471.                         ["9Rnd_45ACP_Mag",nil,45],
  472.                         ["6Rnd_45ACP_Cylinder",nil,50],
  473.                         ["30Rnd_9x21_Mag",nil,75]
  474.                     ]
  475.                 ];
  476.             };
  477.         };
  478.     };
  479.    
  480.     case "dg1":
  481.     {
  482.         switch(true) do
  483.         {
  484.             case (playerSide != civilian): {"You are not a civillian!"};
  485.             case (!license_civ_d1): {"You are not a Donator!"};
  486.             default
  487.             {
  488.                 ["Donator Gun Store T1",
  489.                     [
  490.                         ["hgun_Rook40_F",nil,6500],
  491.                         ["16Rnd_9x21_Mag",nil,1000],
  492.                         ["30Rnd_9x21_Mag",nil,1500],
  493.                         ["hgun_Pistol_heavy_02_F",nil,9850],
  494.                         ["6Rnd_45ACP_Cylinder",nil,500],
  495.                         ["hgun_ACPC2_F",nil,11500],
  496.                         ["9Rnd_45ACP_Mag",nil,700],
  497.                         ["11Rnd_45ACP_Mag",nil,4500],
  498.                         ["hgun_PDW2000_F",nil,12000],
  499.                         ["30Rnd_9x21_Mag",nil,1500],
  500.                         ["SMG_02_F",nil,8000],
  501.                         ["30Rnd_9x21_Mag",nil,1500],
  502.                         ["SMG_01_F",nil,8000],
  503.                         ["30Rnd_45ACP_Mag_SMG_01",nil,4000],
  504.                         ["arifle_Mk20C_F",nil,200000],
  505.                         ["30Rnd_556x45_Stanag",nil,5000],
  506.                         ["arifle_TRG20_F",nil,200000],
  507.                         ["30Rnd_556x45_Stanag",nil,5000],
  508.                         ["arifle_SDAR_F",nil,160000],
  509.                         ["20Rnd_556x45_UW_mag",nil,2000],
  510.                         ["arifle_Katiba_F",nil,250000],
  511.                         ["arifle_MXC_Black_F",nil,300000],
  512.                         ["arifle_MX_Black_F",nil,300000],
  513.                         ["arifle_MXM_Black_F",nil,350000],
  514.                         ["30Rnd_65x39_caseless_mag_Tracer",nil,5000],
  515.                         ["30Rnd_65x39_caseless_mag",nil,6500],
  516.                         ["30Rnd_65x39_caseless_green",nil,5000],
  517.                         ["arifle_MX_SW_Black_F",nil,400000],
  518.                         ["100Rnd_65x39_caseless_mag",nil,8000],
  519.                         ["100Rnd_65x39_caseless_mag_Tracer",nil,8000],
  520.                         ["LMG_Mk200_F",nil,400000],
  521.                         ["200Rnd_65x39_cased_Box",nil,15000],
  522.                         ["LMG_Zafir_F",nil,600000],
  523.                         ["150Rnd_762x51_Box",nil,10000],
  524.                         ["srifle_EBR_F",nil,300000],
  525.                         ["20Rnd_762x51_Mag",nil,6000],
  526.                         ["srifle_DMR_01_F",nil,45000],
  527.                         ["10Rnd_762x51_Mag",nil,4000],
  528.                         ["srifle_LRR_LRPS_F",nil,700000],
  529.                         ["7Rnd_408_Mag",nil,20000]
  530.                     ]
  531.                 ];
  532.             };
  533.         };
  534.     };
  535.  
  536.     case "dg2":
  537.     {
  538.         switch(true) do
  539.         {
  540.             case (playerSide != civilian): {"You are not a civilian!"};
  541.             case (!license_civ_d2): {"You are not a Donator!"};
  542.             default
  543.             {
  544.                 ["Donator Gun Store T2",
  545.                     [
  546.                         ["hgun_Rook40_F",nil,5200],
  547.                         ["hgun_Pistol_heavy_02_F",nil,7880],
  548.                         ["hgun_ACPC2_F",nil,9200],
  549.                         ["hgun_PDW2000_F",nil,9600],
  550.                         ["SMG_02_F",nil,6400],
  551.                         ["SMG_01_F",nil,6400],
  552.                         ["arifle_Mk20C_F",nil,160000],
  553.                         ["arifle_TRG20_F",nil,160000],
  554.                         ["arifle_SDAR_F",nil,128000],
  555.                         ["arifle_Katiba_F",nil,200000],
  556.                         ["arifle_MXC_Black_F",nil,240000],
  557.                         ["arifle_MX_Black_F",nil,240000],
  558.                         ["arifle_MX_SW_Black_F",nil,320000],
  559.                         ["arifle_MXM_Black_F",nil,280000],
  560.                         ["LMG_Mk200_F",nil,320000],
  561.                         ["LMG_Zafir_F",nil,480000],
  562.                         ["srifle_EBR_F",nil,240000],
  563.                         ["srifle_DMR_01_F",nil,36000],
  564.                         ["srifle_LRR_LRPS_F",nil,560000],
  565.                         ["30Rnd_65x39_caseless_mag",nil,4160],
  566.                         ["7Rnd_408_Mag",nil,16000],
  567.                         ["150Rnd_762x51_Box",nil,8000],
  568.                         ["10Rnd_762x51_Mag",nil,3200],
  569.                         ["20Rnd_762x51_Mag",nil,4800],
  570.                         ["30Rnd_65x39_caseless_mag_Tracer",nil,4000],
  571.                         ["200Rnd_65x39_cased_Box",nil,12000],
  572.                         ["100Rnd_65x39_caseless_mag",nil,5120],
  573.                         ["100Rnd_65x39_caseless_mag_Tracer",nil,5120],
  574.                         ["11Rnd_45ACP_Mag",nil,3600],
  575.                         ["30Rnd_65x39_caseless_green",nil,4000],
  576.                         ["20Rnd_556x45_UW_mag",nil,1600],
  577.                         ["30Rnd_556x45_Stanag",nil,4000],
  578.                         ["30Rnd_45ACP_Mag_SMG_01",nil,3200],
  579.                         ["16Rnd_9x21_Mag",nil,800],
  580.                         ["9Rnd_45ACP_Mag",nil,560],
  581.                         ["6Rnd_45ACP_Cylinder",nil,400],
  582.                         ["30Rnd_9x21_Mag",nil,1200]
  583.                     ]
  584.                 ];
  585.             };
  586.         };
  587.     };
  588.  
  589.     case "dg3":
  590.     {
  591.         switch(true) do
  592.         {
  593.             case (playerSide != civilian): {"You are not a civilian!"};
  594.             case (!license_civ_d3): {"You are not a Donator!"};
  595.             default
  596.             {
  597.                 ["Donator Gun Store T3",
  598.                     [
  599.                         ["hgun_Rook40_F",nil,4550],
  600.                         ["hgun_Pistol_heavy_02_F",nil,6895],
  601.                         ["hgun_ACPC2_F",nil,8050],
  602.                         ["hgun_PDW2000_F",nil,8400],
  603.                         ["SMG_02_F",nil,5600],
  604.                         ["SMG_01_F",nil,5600],
  605.                         ["arifle_Mk20C_F",nil,140000],
  606.                         ["arifle_TRG20_F",nil,140000],
  607.                         ["arifle_SDAR_F",nil,112000],
  608.                         ["arifle_Katiba_F",nil,175000],
  609.                         ["arifle_MXC_Black_F",nil,210000],
  610.                         ["arifle_MX_Black_F",nil,210000],
  611.                         ["arifle_MX_SW_Black_F",nil,280000],
  612.                         ["arifle_MXM_Black_F",nil,245000],
  613.                         ["LMG_Mk200_F",nil,280000],
  614.                         ["LMG_Zafir_F",nil,420000],
  615.                         ["srifle_EBR_F",nil,210000],
  616.                         ["srifle_DMR_01_F",nil,31500],
  617.                         ["srifle_LRR_LRPS_F",nil,490000],
  618.                         ["30Rnd_65x39_caseless_mag",nil,4550],
  619.                         ["7Rnd_408_Mag",nil,14000],
  620.                         ["150Rnd_762x51_Box",nil,7000],
  621.                         ["10Rnd_762x51_Mag",nil,2800],
  622.                         ["20Rnd_762x51_Mag",nil,4200],
  623.                         ["30Rnd_65x39_caseless_mag_Tracer",nil,3500],
  624.                         ["200Rnd_65x39_cased_Box",nil,10500],
  625.                         ["100Rnd_65x39_caseless_mag",nil,5600],
  626.                         ["100Rnd_65x39_caseless_mag_Tracer",nil,5600],
  627.                         ["11Rnd_45ACP_Mag",nil,3150],
  628.                         ["30Rnd_65x39_caseless_green",nil,3500],
  629.                         ["20Rnd_556x45_UW_mag",nil,1400],
  630.                         ["30Rnd_556x45_Stanag",nil,3500],
  631.                         ["30Rnd_45ACP_Mag_SMG_01",nil,2800],
  632.                         ["16Rnd_9x21_Mag",nil,700],
  633.                         ["9Rnd_45ACP_Mag",nil,490],
  634.                         ["6Rnd_45ACP_Cylinder",nil,350],
  635.                         ["30Rnd_9x21_Mag",nil,1050]
  636.                     ]
  637.                 ];
  638.             };
  639.         };
  640.     };
  641.  
  642.         case "dg4":
  643.     {
  644.         switch(true) do
  645.         {
  646.             case (playerSide != civilian): {"You are not a civilian!"};
  647.             case (!license_civ_d4): {"You are not a Donator!"};
  648.             default
  649.             {
  650.                 ["Donator Gun Store T4",
  651.                     [
  652.                         ["hgun_Rook40_F",nil,2600],
  653.                         ["hgun_Pistol_heavy_02_F",nil,3940],
  654.                         ["hgun_ACPC2_F",nil,4600],
  655.                         ["hgun_PDW2000_F",nil,4800],
  656.                         ["SMG_02_F",nil,3200],
  657.                         ["SMG_01_F",nil,3200],
  658.                         ["arifle_Mk20C_F",nil,80000],
  659.                         ["arifle_TRG20_F",nil,80000],
  660.                         ["arifle_SDAR_F",nil,64000],
  661.                         ["arifle_Katiba_F",nil,100000],
  662.                         ["arifle_MXC_Black_F",nil,120000],
  663.                         ["arifle_MX_Black_F",nil,120000],
  664.                         ["arifle_MX_SW_Black_F",nil,160000],
  665.                         ["arifle_MXM_Black_F",nil,140000],
  666.                         ["LMG_Mk200_F",nil,160000],
  667.                         ["LMG_Zafir_F",nil,240000],
  668.                         ["srifle_EBR_F",nil,120000],
  669.                         ["srifle_DMR_01_F",nil,18000],
  670.                         ["srifle_LRR_LRPS_F",nil,280000],
  671.                         ["srifle_GM6_LRPS_F",nil,400000],
  672.                         ["5Rnd_127x108_Mag","Head Poppers",10000],
  673.                         ["5Rnd_127x108_APDS_Mag","Truck Stoppers",12000],
  674.                         ["30Rnd_65x39_caseless_mag",nil,2600],
  675.                         ["7Rnd_408_Mag",nil,8000],
  676.                         ["150Rnd_762x51_Box",nil,4000],
  677.                         ["10Rnd_762x51_Mag",nil,1600],
  678.                         ["20Rnd_762x51_Mag",nil,2400],
  679.                         ["30Rnd_65x39_caseless_mag_Tracer",nil,2000],
  680.                         ["200Rnd_65x39_cased_Box",nil,6000],
  681.                         ["100Rnd_65x39_caseless_mag",nil,3200],
  682.                         ["100Rnd_65x39_caseless_mag_Tracer",nil,3200],
  683.                         ["11Rnd_45ACP_Mag",nil,1800],
  684.                         ["30Rnd_65x39_caseless_green",nil,2000],
  685.                         ["20Rnd_556x45_UW_mag",nil,800],
  686.                         ["30Rnd_556x45_Stanag",nil,2000],
  687.                         ["30Rnd_45ACP_Mag_SMG_01",nil,1600],
  688.                         ["16Rnd_9x21_Mag",nil,400],
  689.                         ["9Rnd_45ACP_Mag",nil,280],
  690.                         ["6Rnd_45ACP_Cylinder",nil,200],
  691.                         ["30Rnd_9x21_Mag",nil,600]
  692.                     ]
  693.                 ];
  694.             };
  695.         };
  696.     };
  697.  
  698.     case "dg5":
  699.     {
  700.         switch(true) do
  701.         {
  702.             case (playerSide != civilian): {"You are not a civilian!"};
  703.             case (!license_civ_d5): {"You are not a Donator!"};
  704.             default
  705.             {
  706.                 ["Donator Gun Store T5",
  707.                     [
  708.                         ["hgun_Rook40_F",nil,1300],
  709.                         ["hgun_Pistol_heavy_02_F",nil,1970],
  710.                         ["hgun_ACPC2_F",nil,2300],
  711.                         ["hgun_PDW2000_F",nil,2400],
  712.                         ["SMG_02_F",nil,1600],
  713.                         ["SMG_01_F",nil,1600],
  714.                         ["arifle_Mk20C_F",nil,40000],
  715.                         ["arifle_TRG20_F",nil,40000],
  716.                         ["arifle_SDAR_F",nil,32000],
  717.                         ["arifle_Katiba_F",nil,50000],
  718.                         ["arifle_MXC_Black_F",nil,60000],
  719.                         ["arifle_MX_Black_F",nil,60000],
  720.                         ["arifle_MX_SW_Black_F",nil,80000],
  721.                         ["arifle_MXM_Black_F",nil,70000],
  722.                         ["LMG_Mk200_F",nil,80000],
  723.                         ["LMG_Zafir_F",nil,120000],
  724.                         ["srifle_EBR_F",nil,60000],
  725.                         ["srifle_DMR_01_F",nil,9000],
  726.                         ["srifle_LRR_LRPS_F",nil,140000],
  727.                         ["srifle_GM6_LRPS_F",nil,250000],
  728.                         ["5Rnd_127x108_Mag","Head Poppers",6000],
  729.                         ["5Rnd_127x108_APDS_Mag","Truck Stoppers",8000],
  730.                         ["launch_RPG32_F",nil,1000000],
  731.                         ["RPG32_HE_F",nill,100000],
  732.                         ["30Rnd_65x39_caseless_mag",nil,1300],
  733.                         ["7Rnd_408_Mag",nil,4000],
  734.                         ["150Rnd_762x51_Box",nil,2000],
  735.                         ["10Rnd_762x51_Mag",nil,800],
  736.                         ["20Rnd_762x51_Mag",nil,1200],
  737.                         ["30Rnd_65x39_caseless_mag_Tracer",nil,1000],
  738.                         ["200Rnd_65x39_cased_Box",nil,3000],
  739.                         ["100Rnd_65x39_caseless_mag",nil,1600],
  740.                         ["100Rnd_65x39_caseless_mag_Tracer",nil,1600],
  741.                         ["11Rnd_45ACP_Mag",nil,900],
  742.                         ["30Rnd_65x39_caseless_green",nil,1000],
  743.                         ["20Rnd_556x45_UW_mag",nil,400],
  744.                         ["30Rnd_556x45_Stanag",nil,1000],
  745.                         ["30Rnd_45ACP_Mag_SMG_01",nil,800],
  746.                         ["16Rnd_9x21_Mag",nil,200],
  747.                         ["9Rnd_45ACP_Mag",nil,140],
  748.                         ["6Rnd_45ACP_Cylinder",nil,100],
  749.                         ["30Rnd_9x21_Mag",nil,300]
  750.                     ]
  751.                 ];
  752.             };
  753.         };
  754.     };
  755.  
  756.     case "d_attachment":
  757.     {
  758.         switch(true) do
  759.         {
  760.             case (playerSide != civilian): {"You are not a Civ!"};
  761.             case (!license_civ_dc): {"You are not a Donator!"};
  762.             default
  763.             {
  764.                 ["Donator Equipment Shop",
  765.                     [
  766.                         ["muzzle_snds_H",nil,1000],
  767.                         ["muzzle_snds_L",nil,1000],
  768.                         ["muzzle_snds_M",nil,1000],
  769.                         ["muzzle_snds_H_MG",nil,1000],
  770.                         ["muzzle_snds_acp",nil,1000],
  771.                         ["muzzle_snds_B",nil,1000],
  772.                         ["optic_Arco",nil,1000],
  773.                         ["optic_Hamr",nil,1000],
  774.                         ["optic_Aco",nil,1000],
  775.                         ["optic_ACO_grn",nil,1000],
  776.                         ["optic_Aco_smg",nil,1000],
  777.                         ["optic_ACO_grn_smg",nil,1000],
  778.                         ["optic_Holosight",nil,1000],
  779.                         ["optic_Holosight_smg",nil,1000],
  780.                         ["optic_SOS",nil,1000],
  781.                         ["acc_flashlight",nil,1000],
  782.                         ["acc_pointer_IR",nil,1000],
  783.                         ["optic_MRCO",nil,1000],
  784.                         ["optic_DMS",nil,1000],
  785.                         ["optic_Yorris",nil,1000],
  786.                         ["optic_MRD",nil,1000],
  787.                         ["optic_LRPS",nil,10000],
  788.                         ["optic_NVS",nil,10000],
  789.                         ["optic_tws",nil,10000],
  790.                         ["optic_tws_mg",nil,10000],
  791.                         ["Rangefinder",nil,1000],
  792.                         ["SmokeShellGreen",nil,1000],
  793.                         ["SmokeShellRed",nil,1000]
  794.                     ]
  795.                 ];
  796.             };
  797.         };
  798.     };
  799.  
  800.     case "r_attachment":
  801.     {
  802.         switch(true) do
  803.         {
  804.             case (playerSide != civilian): {"You are not a Civ!"};
  805.             case (!license_civ_dc): {"You are not a Rebel!"};
  806.             default
  807.             {
  808.                 ["Rebel Equipment Shop",
  809.                     [
  810.                         ["muzzle_snds_H",nil,1000],
  811.                         ["muzzle_snds_L",nil,1000],
  812.                         ["muzzle_snds_M",nil,1000],
  813.                         ["muzzle_snds_H_MG",nil,1000],
  814.                         ["muzzle_snds_acp",nil,1000],
  815.                         ["muzzle_snds_B",nil,1000],
  816.                         ["optic_Arco",nil,1000],
  817.                         ["optic_Hamr",nil,1000],
  818.                         ["optic_Aco",nil,1000],
  819.                         ["optic_ACO_grn",nil,1000],
  820.                         ["optic_Aco_smg",nil,1000],
  821.                         ["optic_ACO_grn_smg",nil,1000],
  822.                         ["optic_Holosight",nil,1000],
  823.                         ["optic_Holosight_smg",nil,1000],
  824.                         ["optic_SOS",nil,1000],
  825.                         ["acc_flashlight",nil,1000],
  826.                         ["acc_pointer_IR",nil,1000],
  827.                         ["optic_MRCO",nil,1000],
  828.                         ["optic_DMS",nil,1000],
  829.                         ["optic_Yorris",nil,1000],
  830.                         ["optic_MRD",nil,1000],
  831.                         ["optic_LRPS",nil,10000],
  832.                         ["optic_NVS",nil,10000],
  833.                         ["optic_tws",nil,10000],
  834.                         ["optic_tws_mg",nil,10000],
  835.                         ["Rangefinder",nil,1000],
  836.                         ["SmokeShellGreen",nil,1000],
  837.                         ["SmokeShellRed",nil,1000]
  838.                     ]
  839.                 ];
  840.             };
  841.         };
  842.     };
  843.  
  844.     case "t_attachment":
  845.     {
  846.         switch(true) do
  847.         {
  848.             case (playerSide != civilian): {"You are not a Civ!"};
  849.             case (!license_civ_dc): {"You are not one with Allah!"};
  850.             default
  851.             {
  852.                 ["Allahs Equipment Shop",
  853.                     [
  854.                         ["muzzle_snds_H",nil,1000],
  855.                         ["muzzle_snds_L",nil,1000],
  856.                         ["muzzle_snds_M",nil,1000],
  857.                         ["muzzle_snds_H_MG",nil,1000],
  858.                         ["muzzle_snds_acp",nil,1000],
  859.                         ["muzzle_snds_B",nil,1000],
  860.                         ["optic_Arco",nil,1000],
  861.                         ["optic_Hamr",nil,1000],
  862.                         ["optic_Aco",nil,1000],
  863.                         ["optic_ACO_grn",nil,1000],
  864.                         ["optic_Aco_smg",nil,1000],
  865.                         ["optic_ACO_grn_smg",nil,1000],
  866.                         ["optic_Holosight",nil,1000],
  867.                         ["optic_Holosight_smg",nil,1000],
  868.                         ["optic_SOS",nil,1000],
  869.                         ["acc_flashlight",nil,1000],
  870.                         ["acc_pointer_IR",nil,1000],
  871.                         ["optic_MRCO",nil,1000],
  872.                         ["optic_DMS",nil,1000],
  873.                         ["optic_Yorris",nil,1000],
  874.                         ["optic_MRD",nil,1000],
  875.                         ["optic_LRPS",nil,10000],
  876.                         ["optic_NVS",nil,10000],
  877.                         ["optic_tws",nil,10000],
  878.                         ["optic_tws_mg",nil,10000],
  879.                         ["Rangefinder",nil,1000],
  880.                         ["SmokeShellGreen",nil,1000],
  881.                         ["SmokeShellRed",nil,1000]
  882.                     ]
  883.                 ];
  884.             };
  885.         };
  886.     };
  887.    
  888.     case "gun":
  889.     {
  890.         switch(true) do
  891.         {
  892.             case (playerSide != civilian): {"You are not a civilian!"};
  893.             case (!license_civ_gun): {"You don't have a Firearms license!"};
  894.             default
  895.             {
  896.                 ["Billy Joe's Firearms",
  897.                     [
  898.                         ["hgun_Rook40_F",nil,6500],
  899.                         ["hgun_Pistol_heavy_02_F",nil,9850],
  900.                         ["hgun_ACPC2_F",nil,11500],
  901.                         ["hgun_PDW2000_F",nil,20000],
  902.                         ["optic_ACO_grn_smg",nil,2500],
  903.                         ["V_Rangemaster_belt",nil,4900],
  904.                         ["16Rnd_9x21_Mag",nil,25],
  905.                         ["9Rnd_45ACP_Mag",nil,45],
  906.                         ["6Rnd_45ACP_Cylinder",nil,50],
  907.                         ["30Rnd_9x21_Mag",nil,75]
  908.                     ]
  909.                 ];
  910.             };
  911.         };
  912.     };
  913.  
  914.     case "genstore":
  915.     {
  916.         ["Altis General Store",
  917.             [
  918.                 ["Binocular",nil,150],
  919.                 ["ItemGPS",nil,100],
  920.                 ["ToolKit",nil,250],
  921.                 ["FirstAidKit",nil,150],
  922.                 ["NVGoggles",nil,2000],
  923.                 ["Chemlight_red",nil,300],
  924.                 ["Chemlight_yellow",nil,300],
  925.                 ["Chemlight_green",nil,300],
  926.                 ["Chemlight_blue",nil,300]
  927.             ]
  928.         ];
  929.     };
  930. };
Advertisement
Add Comment
Please, Sign In to add comment