Advertisement
Guest User

Untitled

a guest
Jun 24th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.41 KB | None | 0 0
  1. -- [[ THIS CODE IS WRITTEN BY BENN20002 (76561198114067146) DONT COPY OR STEAL! ]] --
  2.  
  3. PoliceUpgrade.Upgrades = {
  4.   {
  5.     ["Name"] = "Polizei",
  6.     ["Desc"] = "Waffen und Ausrüstung für Polizisten, Bürgermeister- und PD Securitys.",
  7.     ["Jobs"] = {[TEAM_MAYORSECURITY] = true,[TEAM_PDSECURITY] = true,[TEAM_ZOLL] = true,[TEAM_CHIEF] = true,[TEAM_COP] = true},
  8.     ["Items"] = {
  9.       {
  10.         ["Type"] = "Weapon",
  11.         ["Class"] = "m9k_ump45",
  12.         ["Price"] = 0,
  13.         ["UseClass"] = 1,
  14.       },
  15.       {
  16.         ["Type"] = "Weapon",
  17.         ["Class"] = "m9k_mp5",
  18.         ["Price"] = 20000,
  19.       },
  20.       {
  21.         ["Type"] = "Weapon",
  22.         ["Class"] = "m9k_mp5sd",
  23.         ["Price"] = 30000,
  24.       },
  25.       {
  26.         ["Type"] = "Weapon",
  27.         ["Class"] = "m9k_mp7",
  28.         ["Price"] = 25000,
  29.       },
  30.       {
  31.         ["Type"] = "Weapon",
  32.         ["Class"] = "m9k_usc",
  33.         ["Price"] = 20000,
  34.       },
  35.       {
  36.         ["Type"] = "Weapon",
  37.         ["Class"] = "m9k_f2000",
  38.         ["Price"] = 40000,
  39.       },
  40.       {
  41.         ["Type"] = "Weapon",
  42.         ["Class"] = "m9k_mossberg590",
  43.         ["Price"] = 50000,
  44.       },
  45.       {
  46.         ["Type"] = "Weapon",
  47.         ["Class"] = "m9k_mp9",
  48.         ["Price"] = 35000,
  49.       },
  50.     },
  51.   },
  52.  
  53.   {
  54.     ["Name"] = "SEK",
  55.     ["Desc"] = "Waffen und Ausrüstung für alle SEK-Beamten außer den Juggernaut.",
  56.     ["Jobs"] = {[TEAM_SEKLEADER] = true,[TEAM_SEKSHOTGUN] = true,[TEAM_SEKASSAULT] = true,[TEAM_SEKMEDIC] = true,[TEAM_SEKSNIPER] = true},
  57.     ["Items"] = {
  58.       {
  59.         ["Type"] = "Weapon",
  60.         ["Class"] = "policeshield",
  61.         ["Price"] = 10000,
  62.       },
  63.       {
  64.         ["Type"] = "Weapon",
  65.         ["Class"] = "emp",
  66.         ["Price"] = 15000,
  67.       },
  68.       {
  69.         ["Type"] = "Weapon",
  70.         ["Class"] = "m9k_glock",
  71.         ["Price"] = 10000,
  72.       },
  73.       {
  74.         ["Type"] = "Weapon",
  75.         ["Class"] = "weapon_cuff_sek",
  76.         ["Price"] = 0,
  77.       },
  78.     },
  79.   },
  80.   {
  81.     ["Name"] = "SEK-Leiter",
  82.     ["Desc"] = "Waffen und Ausrüstung nur für den SEK-Leiter.",
  83.     ["Jobs"] = {[TEAM_SEKLEADER] = true},
  84.     ["Items"] = {
  85.       {
  86.         ["Type"] = "Weapon",
  87.         ["Class"] = "m9k_g3a3",
  88.         ["Price"] = 0,
  89.       },
  90.       {
  91.         ["Type"] = "Weapon",
  92.         ["Class"] = "m9k_kac_pdw",
  93.         ["Price"] = 30000,
  94.       },
  95.     },
  96.   },
  97.   {
  98.     ["Name"] = "SEK-Sniper",
  99.     ["Desc"] = "Waffen und Ausrüstung nur für den SEK-Sniper.",
  100.     ["Jobs"] = {[TEAM_SEKSNIPER] = true},
  101.     ["Items"] = {
  102.       {
  103.         ["Type"] = "Weapon",
  104.         ["Class"] = "m9k_m24",
  105.         ["Price"] = 0,
  106.       },
  107.       {
  108.         ["Type"] = "Weapon",
  109.         ["Class"] = "m9k_aw50",
  110.         ["Price"] = 15000,
  111.       },
  112.       {
  113.         ["Type"] = "Weapon",
  114.         ["Class"] = "m9k_barret_m82",
  115.         ["Price"] = 40000,
  116.       },
  117.       {
  118.         ["Type"] = "Weapon",
  119.         ["Class"] = "m9k_sl8",
  120.         ["Price"] = 50000,
  121.       },
  122.     },
  123.   },
  124.   {
  125.     ["Name"] = "SEK-Shotgun",
  126.     ["Desc"] = "Waffen und Ausrüstung nur für den SEK-Shotgun.",
  127.     ["Jobs"] = {[TEAM_SEKSHOTGUN] = true},
  128.     ["Items"] = {
  129.       {
  130.         ["Type"] = "Weapon",
  131.         ["Class"] = "m9k_ithacam37",
  132.         ["Price"] = 0,
  133.       },
  134.       {
  135.         ["Type"] = "Weapon",
  136.         ["Class"] = "m9k_1897winchester",
  137.         ["Price"] = 20000,
  138.       },
  139.       {
  140.         ["Type"] = "Weapon",
  141.         ["Class"] = "m9k_mossberg590",
  142.         ["Price"] = 20000,
  143.       },
  144.       {
  145.         ["Type"] = "Weapon",
  146.         ["Class"] = "m9k_spas12",
  147.         ["Price"] = 50000,
  148.       },
  149.     },
  150.   },
  151.   {
  152.     ["Name"] = "SEK-Sturmgewehr",
  153.     ["Desc"] = "Waffen und Ausrüstung nur für den SEK-Sturmgewehr.",
  154.     ["Jobs"] = {[TEAM_SEKASSAULT] = true},
  155.     ["Items"] = {
  156.       {
  157.         ["Type"] = "Weapon",
  158.         ["Class"] = "m9k_g36",
  159.         ["Price"] = 0,
  160.       },
  161.       {
  162.         ["Type"] = "Weapon",
  163.         ["Class"] = "m9k_m4a1",
  164.         ["Price"] = 20000,
  165.       },
  166.       {
  167.         ["Type"] = "Weapon",
  168.         ["Class"] = "m9k_m416",
  169.         ["Price"] = 40000,
  170.       },
  171.       {
  172.         ["Type"] = "Weapon",
  173.         ["Class"] = "m9k_auga3",
  174.         ["Price"] = 40000,
  175.       },
  176.     },
  177.   },
  178.  
  179.   {
  180.     ["Name"] = "SEK-Medic",
  181.     ["Desc"] = "Waffen und Ausrüstung nur für den SEK-Medic.",
  182.     ["Jobs"] = {[TEAM_SEKMEDIC] = true},
  183.     ["Items"] = {
  184.       {
  185.         ["Type"] = "Weapon",
  186.         ["Class"] = "m9k_ump45",
  187.         ["Price"] = 0,
  188.       },
  189.       {
  190.         ["Type"] = "Weapon",
  191.         ["Class"] = "m9k_magpulpdr",
  192.         ["Price"] = 15000,
  193.       },
  194.       {
  195.         ["Type"] = "Weapon",
  196.         ["Class"] = "m9k_vector",
  197.         ["Price"] = 40000,
  198.       },
  199.       {
  200.         ["Type"] = "Weapon",
  201.         ["Class"] = "m9k_auga3",
  202.         ["Price"] = 40000,
  203.       },
  204.     },
  205.   },
  206.  
  207.   {
  208.     ["Name"] = "Fahrzeuge",
  209.     ["Desc"] = "Freischaltung von Dienstfahrzeugen für Beamte.",
  210.     ["Items"] = {
  211.       {
  212.         ["Name"] = "Dodge Charger SRT 2012 Police",
  213.         ["Type"] = "KeyUpgrade",
  214.         ["Key"] = "CAR_UNLOCK_charger12poltdm",
  215.         ["Price"] = 10000,
  216.       },
  217.       {
  218.         ["Name"] = "Dodge Charger Police",
  219.         ["Type"] = "KeyUpgrade",
  220.         ["Key"] = "CAR_UNLOCK_chargersrt8poltdm",
  221.         ["Price"] = 10000,
  222.       },
  223.       {
  224.         ["Name"] = "Ford Taurus 2013",
  225.         ["Type"] = "KeyUpgrade",
  226.         ["Key"] = "CAR_UNLOCK_fortauruspoltdm",
  227.         ["Price"] = 20000,
  228.       },
  229.       {
  230.         ["Name"] = "Ford Crown Victoria",
  231.         ["Type"] = "KeyUpgrade",
  232.         ["Key"] = "CAR_UNLOCK_forcrownvicpoltdm",
  233.         ["Price"] = 20000,
  234.       },
  235.       {
  236.         ["Name"] = "Holden HSV W427 Police",
  237.         ["Type"] = "KeyUpgrade",
  238.         ["Key"] = "CAR_UNLOCK_hsvw427poltdm",
  239.         ["Price"] = 25000,
  240.       },
  241.       {
  242.         ["Name"] = "Mercedes E350 Police",
  243.         ["Type"] = "KeyUpgrade",
  244.         ["Key"] = "CAR_UNLOCK_mereclasspoltdm",
  245.         ["Price"] = 25000,
  246.       },
  247.     },
  248.   },
  249.   {
  250.     ["Name"] = "Fahrzeug Upgrades",
  251.     ["Desc"] = "Upgrades für die Fahrzeuge aller Beamten.",
  252.     ["Items"] = {
  253.       {
  254.         ["Name"] = "Fahrzeug Peilsender",
  255.         ["Type"] = "KeyUpgrade",
  256.         ["Key"] = "CAR_TRACKER",
  257.         ["Price"] = 25000,
  258.       },
  259.  
  260.       {
  261.         ["Name"] = "Fahrzeugschloss Stufe 2",
  262.         ["Type"] = "KeyUpgrade",
  263.         ["Key"] = "CAR_LOCK_2",
  264.         ["Price"] = 30000,
  265.       },
  266.       {
  267.         ["Name"] = "Fahrzeugschloss Stufe 3",
  268.         ["Type"] = "KeyUpgrade",
  269.         ["Key"] = "CAR_LOCK_3",
  270.         ["Price"] = 60000,
  271.       },
  272.       {
  273.         ["Name"] = "Fahrzeugschloss Stufe 4",
  274.         ["Type"] = "KeyUpgrade",
  275.         ["Key"] = "CAR_LOCK_4",
  276.         ["Price"] = 80000,
  277.       },
  278.  
  279.       {
  280.         ["Name"] = "Fahrzeugpanzerung Stufe 1",
  281.         ["Type"] = "KeyUpgrade",
  282.         ["Key"] = "CAR_ARMOR_1",
  283.         ["Price"] = 10000,
  284.       },
  285.       {
  286.         ["Name"] = "Fahrzeugpanzerung Stufe 2",
  287.         ["Type"] = "KeyUpgrade",
  288.         ["Key"] = "CAR_ARMOR_2",
  289.         ["Price"] = 25000,
  290.       },
  291.       {
  292.         ["Name"] = "Fahrzeugpanzerung Stufe 3",
  293.         ["Type"] = "KeyUpgrade",
  294.         ["Key"] = "CAR_ARMOR_3",
  295.         ["Price"] = 40000,
  296.       },
  297.  
  298.       {
  299.         ["Name"] = "Diebstahlalarm Stufe 1",
  300.         ["Type"] = "KeyUpgrade",
  301.         ["Key"] = "CAR_ALARM_1",
  302.         ["Price"] = 15000,
  303.       },
  304.       {
  305.         ["Name"] = "Diebstahlalarm Stufe 2",
  306.         ["Type"] = "KeyUpgrade",
  307.         ["Key"] = "CAR_ALARM_2",
  308.         ["Price"] = 50000,
  309.       },
  310.  
  311.       {
  312.         ["Name"] = "Getriebe Stufe 2",
  313.         ["Type"] = "KeyUpgrade",
  314.         ["Key"] = "CAR_GEAR_2",
  315.         ["Price"] = 10000,
  316.       },
  317.       {
  318.         ["Name"] = "Getriebe Stufe 3",
  319.         ["Type"] = "KeyUpgrade",
  320.         ["Key"] = "CAR_GEAR_3",
  321.         ["Price"] = 20000,
  322.       },
  323.       {
  324.         ["Name"] = "Getriebe Stufe 4",
  325.         ["Type"] = "KeyUpgrade",
  326.         ["Key"] = "CAR_GEAR_4",
  327.         ["Price"] = 30000,
  328.       },
  329.       {
  330.         ["Name"] = "Getriebe Stufe 5",
  331.         ["Type"] = "KeyUpgrade",
  332.         ["Key"] = "CAR_GEAR_5",
  333.         ["Price"] = 50000,
  334.       },
  335.     },
  336.   },
  337.   {
  338.     ["Name"] = "Staatsbank Upgrades",
  339.     ["Desc"] = "Upgrades für die Bank des Staates.",
  340.     ["Items"] = {
  341.       {
  342.         ["Name"] = "Intervall 150 statt 300 Sekunden",
  343.         ["Type"] = "KeyUpgrade",
  344.         ["Key"] = "STATEBANK_INTERVAL",
  345.         ["Price"] = 150000,
  346.       },
  347.  
  348.       {
  349.         ["Name"] = "40$/Bürger pro Intervall",
  350.         ["Type"] = "KeyUpgrade",
  351.         ["Key"] = "STATEBANK_MONEYGET_1",
  352.         ["Price"] = 25000,
  353.       },
  354.       {
  355.         ["Name"] = "60$/Bürger pro Intervall",
  356.         ["Type"] = "KeyUpgrade",
  357.         ["Key"] = "STATEBANK_MONEYGET_2",
  358.         ["Price"] = 40000,
  359.       },
  360.       {
  361.         ["Name"] = "80$/Bürger pro Intervall",
  362.         ["Type"] = "KeyUpgrade",
  363.         ["Key"] = "STATEBANK_MONEYGET_3",
  364.         ["Price"] = 75000,
  365.       },
  366.       {
  367.         ["Name"] = "160$/Bürger pro Intervall",
  368.         ["Type"] = "KeyUpgrade",
  369.         ["Key"] = "STATEBANK_MONEYGET_4",
  370.         ["Price"] = 150000,
  371.       },
  372.  
  373.       {
  374.         ["Name"] = "Hack-Zeit 300 Sekunden",
  375.         ["Type"] = "KeyUpgrade",
  376.         ["Key"] = "STATEBANK_HACK_1",
  377.         ["Price"] = 50000,
  378.       },
  379.       {
  380.         ["Name"] = "Hack-Zeit 450 Sekunden",
  381.         ["Type"] = "KeyUpgrade",
  382.         ["Key"] = "STATEBANK_HACK_2",
  383.         ["Price"] = 100000,
  384.       },
  385.       {
  386.         ["Name"] = "Hack-Zeit 600 Sekunden",
  387.         ["Type"] = "KeyUpgrade",
  388.         ["Key"] = "STATEBANK_HACK_3",
  389.         ["Price"] = 200000,
  390.       },
  391.     },
  392.   },
  393.   {
  394.     ["Name"] = "Sonstige Upgrades",
  395.     ["Desc"] = "Upgrades für den Staat, die Beamten und Fahrzeuge.",
  396.     ["Items"] = {
  397.       {
  398.         ["Name"] = "SEK-Juggernaut",
  399.         ["Type"] = "KeyUpgrade",
  400.         ["Key"] = "JOB_SEKJUGGERNAUT",
  401.         ["Price"] = 20000,
  402.       },
  403.  
  404.       {
  405.         ["Name"] = "Max. 125 Rüstung",
  406.         ["Type"] = "KeyUpgrade",
  407.         ["Key"] = "ARMOR_2",
  408.         ["Price"] = 20000,
  409.       },
  410.       {
  411.         ["Name"] = "Max. 150 Rüstung",
  412.         ["Type"] = "KeyUpgrade",
  413.         ["Key"] = "ARMOR_3",
  414.         ["Price"] = 50000,
  415.       },
  416.     },
  417.   },
  418. }
  419.  
  420. PoliceUpgrade.UpgradesByKey = {}
  421. for _,cat in pairs(PoliceUpgrade.Upgrades) do
  422.   for _,v in pairs(cat["Items"]) do
  423.     PoliceUpgrade.UpgradesByKey[v["Key"] or v["Class"]] = v
  424.   end
  425. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement