Advertisement
Guest User

jobs.lua

a guest
Jan 17th, 2017
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.72 KB | None | 0 0
  1.  
  2.  
  3. --------------------------------------------------------------------------------
  4. ------------------------------ Civillians --------------------------------------
  5. --------------------------------------------------------------------------------
  6.  
  7. TEAM_SPAWNING = DarkRP.createJob("Loading In...", {
  8.     color = Color(255, 255, 255, 255),
  9.     model = "models/hgn/swrp/swrp/geonosian_01.mdl",
  10.     description = [[]],
  11.     weapons = {},
  12.     command = "spawning",
  13.     max = 0,
  14.     salary = 0,
  15.     category = "Citizens",
  16.     sortOrder = 1,
  17.     admin = 0,
  18.     vote = false,
  19.  
  20. })
  21.  
  22. TEAM_BOUNTY = DarkRP.createJob("Bounty Hunter", {
  23.     color = Color(122, 163, 4, 255),
  24.     model = {
  25.         "models/player/vengeance/jaster_medic/jaster_medic.mdl",
  26.         "models/player/vengeance/jaster_green/jaster_green.mdl",
  27.         "models/porky-da-corgi/starwars/mandalorians/bountyhunter.mdl",
  28.     },
  29.     description = [[You will recive hits on other players, complete the hits and recieve payment.  [LEVEL 10] ]],
  30.     weapons = {"weapon_752bf3_dl44"},
  31.     command = "bountyhunter",
  32.     max = 6,
  33.     salary = 125,
  34.     category = "Citizens",
  35.     sortOrder = 7,
  36.     admin = 0,
  37.     vote = false,
  38.     level = 10,
  39.     PlayerLoadout = function(ply)
  40.         ply:SetHealth(300)
  41.         ply:SetMaxHealth(300)
  42.     end,
  43. })
  44.  
  45.  
  46.  
  47.  
  48.  
  49. --------------------------------------------------------------------------------
  50. ---------------------------------- Empire --------------------------------------
  51. --------------------------------------------------------------------------------
  52.  
  53. TEAM_POLICE8 = DarkRP.createJob("Storm Trooper", {
  54.     color = Color(54, 54, 54, 255),
  55.     model = "models/player/fatal/troopers/trooper.mdl",
  56.     description = [[You follow your superior officer's orders.  [LEVEL 5] ]],
  57.    weapons = {"weapon_752bf3_e11", "weapon_752bf3_dh17"},
  58.    command = "stormtrooper",
  59.    max = 0,
  60.    salary = 50,
  61.     category = "Empire",
  62.     sortOrder = 1,
  63.    admin = 0,
  64.    vote = false,
  65.     level = 5,
  66.     PlayerLoadout = function(ply)
  67.         ply:SetHealth(250)
  68.         ply:SetMaxHealth(250)
  69.     end,
  70. })
  71.  
  72. TEAM_POLICE7 = DarkRP.createJob("Magma Trooper", {
  73.    color = Color(54, 54, 54, 255),
  74.    model = "models/player/hydro/magmatrooper/magmatrooper.mdl",
  75.    description = [[You follow your superior officer's orders.  [LEVEL 10] ]],
  76.     weapons = {"weapon_752bf3_t21", "weapon_752bf3_dh17"},
  77.     command = "magmatrooper",
  78.     max = 0,
  79.     salary = 50,
  80.     category = "Empire",
  81.     sortOrder = 2,
  82.     admin = 0,
  83.     vote = false,
  84.     level = 10,
  85.     PlayerLoadout = function(ply)
  86.         ply:SetHealth(250)
  87.         ply:SetMaxHealth(250)
  88.     end,
  89. })
  90.  
  91.  
  92. TEAM_POLICE6 = DarkRP.createJob("Scout Trooper", {
  93.     color = Color(54, 54, 54, 255),
  94.     model = {
  95.         "models/sono/swbf3/backpack.mdl",
  96.         "models/sono/swbf3/desert.mdl",
  97.     },
  98.     description = [[You follow your superior officer's orders.  [LEVEL 14] ]],
  99.    weapons = {"weapon_752bf3_dlt20a", "weapon_752bf3_scoutblaster"},
  100.    command = "scouttrooper",
  101.    max = 0,
  102.    salary = 50,
  103.     category = "Empire",
  104.     sortOrder = 3,
  105.    admin = 0,
  106.    vote = false,
  107.     level = 14,
  108.     PlayerLoadout = function(ply)
  109.         ply:SetHealth(250)
  110.         ply:SetMaxHealth(250)
  111.     end,
  112. })
  113.  
  114. TEAM_POLICE5 = DarkRP.createJob("Naval Trooper", {
  115.    color = Color(54, 54, 54, 255),
  116.    model = "models/player/hydro/swbf_deathstartrooper/swbf_deathstartrooper.mdl",
  117.    description = [[You follow your superior officer's orders.  [LEVEL 18] ]],
  118.     weapons = {"weapon_752bf3_se14c"},
  119.     command = "navaltrooper",
  120.     max = 0,
  121.     salary = 50,
  122.     category = "Empire",
  123.     sortOrder = 4,
  124.     admin = 0,
  125.     vote = false,
  126.     level = 18,
  127.     PlayerLoadout = function(ply)
  128.         ply:SetHealth(250)
  129.         ply:SetMaxHealth(250)
  130.     end,
  131. })
  132.  
  133. TEAM_POLICE4 = DarkRP.createJob("Shock Trooper", {
  134.     color = Color(54, 54, 54, 255),
  135.     model = "models/sono/shocktrooper/trooper.mdl",
  136.     description = [[You follow your superior officer's orders.  [LEVEL 20] ]],
  137.    weapons = {"weapon_752bf3_dlt19","weapon_752bf3_dh17"},
  138.    command = "shocktrooper",
  139.    max = 0,
  140.    salary = 50,
  141.     category = "Empire",
  142.     sortOrder = 5,
  143.    admin = 0,
  144.    vote = false,
  145.     level = 20,
  146.     PlayerLoadout = function(ply)
  147.         ply:SetHealth(250)
  148.         ply:SetMaxHealth(250)
  149.     end,
  150. })
  151.  
  152.  
  153. TEAM_POLICE3 = DarkRP.createJob("Shore Trooper", {
  154.    color = Color(54, 54, 54, 255),
  155.    model = "models/player/hydro/swbf_shoretrooper/swbf_shoretrooper.mdl",
  156.    description = [[You follow your superior officer's orders.  [LEVEL 24] ]],
  157.     weapons = {"weapon_t21b","weapon_752bf3_dh17"},
  158.     command = "shoretrooper",
  159.     max = 0,
  160.     salary = 50,
  161.     category = "Empire",
  162.     sortOrder = 6,
  163.     admin = 0,
  164.     vote = false,
  165.     level = 24,
  166.     PlayerLoadout = function(ply)
  167.         ply:SetHealth(300)
  168.         ply:SetMaxHealth(300)
  169.     end,
  170. })
  171.  
  172. TEAM_POLICE2 = DarkRP.createJob("Shadow Trooper", {
  173.     color = Color(54, 54, 54, 255),
  174.     model = "models/player/blitz/troopers/trooper.mdl",
  175.     description = [[You follow your superior officer's orders.  [LEVEL 28] ]],
  176.    weapons = {"weapon_relbyv10","weapon_752bf3_dh17"},
  177.    command = "shadowtrooper",
  178.    max = 0,
  179.    salary = 50,
  180.     category = "Empire",
  181.     sortOrder = 7,
  182.    admin = 0,
  183.    vote = false,
  184.     level = 28,
  185.     PlayerLoadout = function(ply)
  186.         ply:SetHealth(300)
  187.         ply:SetMaxHealth(300)
  188.     end,
  189. })
  190.  
  191. TEAM_POLICE1 = DarkRP.createJob("Death Trooper", {
  192.    color = Color(54, 54, 54, 255),
  193.    model = "models/player/hydro/swbf_deathtrooper/swbf_deathtrooper.mdl",
  194.    description = [[You follow your superior officer's orders.  [LEVEL 32] ]],
  195.     weapons = {"weapon_752bf3_dlt19","weapon_dlt19x"},
  196.     command = "deathtrooper",
  197.     max = 0,
  198.     salary = 50,
  199.     category = "Empire",
  200.     sortOrder = 8,
  201.     admin = 0,
  202.     vote = false,
  203.     level = 32,
  204.     PlayerLoadout = function(ply)
  205.         ply:SetHealth(300)
  206.         ply:SetMaxHealth(300)
  207.     end,
  208. })
  209.  
  210. TEAM_POLICE = DarkRP.createJob("Director Krennic", {
  211.     color = Color(54, 54, 54, 255),
  212.     model = "models/player/hydro/swbf_krennic/swbf_krennic.mdl",
  213.     description = [[ You can give orders to all ground troops under your superior's command.  [LEVEL 40] ]],
  214.    weapons = {"weapon_jew_x8_night","weapon_bacta_grenade"},
  215.    command = "krennic",
  216.    max = 1,
  217.    salary = 50,
  218.     category = "Empire",
  219.     sortOrder = 9,
  220.    admin = 0,
  221.    vote = false,
  222.     level = 40,
  223.     PlayerLoadout = function(ply)
  224.         ply:SetHealth(600)
  225.         ply:SetMaxHealth(600)
  226.     end,
  227. })
  228.  
  229.  
  230.  
  231.  
  232.  
  233. --------------------------------------------------------------------------------
  234. ------------------------------- Rebellion --------------------------------------
  235. --------------------------------------------------------------------------------
  236.  
  237. TEAM_REBELLION6 = DarkRP.createJob("Rebel Trooper", {
  238.    color = Color(237, 199, 0, 255),
  239.    model = "models/player/sgg/starwars/rebels/r_trooper/male_02.mdl",
  240.    description = [[You follow your superior officer's orders.  [LEVEL 5] ]],
  241.     weapons = {"weapon_752bf3_a280","weapon_dt12"},
  242.     command = "rebeltrooper",
  243.     max = 0,
  244.     salary = 50,
  245.     category = "Rebellion",
  246.     sortOrder = 1,
  247.     admin = 0,
  248.     vote = false,
  249.     level = 5,
  250.     PlayerLoadout = function(ply)
  251.         ply:SetHealth(250)
  252.         ply:SetMaxHealth(250)
  253.     end,
  254. })
  255.  
  256. TEAM_REBELLION5 = DarkRP.createJob("Rebel Urban Camo", {
  257.     color = Color(237, 199, 0, 255),
  258.     model = "models/player/sgg/starwars/rebels/r_soldier_urban/male_02.mdl",
  259.     description = [[You follow your superior officer's orders.  [LEVEL 14] ]],
  260.    weapons = {"weapon_752bf3_t21","weapon_dt12"},
  261.    command = "rebelurban",
  262.    max = 0,
  263.    salary = 50,
  264.     category = "Rebellion",
  265.     sortOrder = 2,
  266.    admin = 0,
  267.    vote = false,
  268.     level = 14,
  269.     PlayerLoadout = function(ply)
  270.         ply:SetHealth(250)
  271.         ply:SetMaxHealth(250)
  272.     end,
  273. })
  274.  
  275. TEAM_REBELLION4 = DarkRP.createJob("Rebel Scout", {
  276.    color = Color(237, 199, 0, 255),
  277.    model = "models/player/sgg/starwars/rebels/r_soldier_forest/male_11.mdl",
  278.    description = [[You follow your superior officer's orders.  [LEVEL 18] ]],
  279.     weapons = {"weapon_752bf3_dlt20a","weapon_dt12"},
  280.     command = "rebelscout",
  281.     max = 0,
  282.     salary = 50,
  283.     category = "Rebellion",
  284.     sortOrder = 3,
  285.     admin = 0,
  286.     vote = false,
  287.     level = 18,
  288.     PlayerLoadout = function(ply)
  289.         ply:SetHealth(250)
  290.         ply:SetMaxHealth(250)
  291.     end,
  292. })
  293.  
  294. TEAM_REBELLION3 = DarkRP.createJob("Rebel Pilot", {
  295.     color = Color(237, 199, 0, 255),
  296.     model = "models/player/hydro/swbf_rebel_pilot/swbf_rebel_pilot.mdl",
  297.     description = [[You follow your superior officer's orders.  [LEVEL 22] ]],
  298.    weapons = {"weapon_752bf3_se14c"},
  299.    command = "rebelpilot",
  300.    max = 0,
  301.    salary = 50,
  302.     category = "Rebellion",
  303.     sortOrder = 4,
  304.    admin = 0,
  305.    vote = false,
  306.     level = 22,
  307.     PlayerLoadout = function(ply)
  308.         ply:SetHealth(250)
  309.         ply:SetMaxHealth(250)
  310.     end,
  311. })
  312.  
  313. TEAM_REBELLION2 = DarkRP.createJob("Rebel Captain", {
  314.    color = Color(237, 199, 0, 255),
  315.    model = "models/player/sgg/starwars/rebels/r_trooper_captain/male_01.mdl",
  316.    description = [[This does NOT mean you are the rank of captain!  [LEVEL 26] ]],
  317.    weapons = {"weapon_752bf3_dlt19","weapon_dt12"},
  318.    command = "rebelcaptain",
  319.    max = 0,
  320.    salary = 50,
  321.     category = "Rebellion",
  322.     sortOrder = 5,
  323.    admin = 0,
  324.    vote = false,
  325.     level = 26,
  326.     PlayerLoadout = function(ply)
  327.         ply:SetHealth(250)
  328.         ply:SetMaxHealth(250)
  329.     end,
  330. })
  331.  
  332. TEAM_REBELLION1 = DarkRP.createJob("Rebel Specialist", {
  333.    color = Color(237, 199, 0, 255),
  334.    model = "models/player/sgg/starwars/rebels/r_soldier_urban/male_10.mdl",
  335.    description = [[You follow your superior officer's orders.  [LEVEL 32] ]],
  336.     weapons = {"weapon_752bf3_a280","weapon_smartlauncher"},
  337.     command = "rebelspecialist",
  338.     max = 0,
  339.     salary = 50,
  340.     category = "Rebellion",
  341.     sortOrder = 6,
  342.     admin = 0,
  343.     vote = false,
  344.     level = 32,
  345.     PlayerLoadout = function(ply)
  346.         ply:SetHealth(250)
  347.         ply:SetMaxHealth(250)
  348.     end,
  349. })
  350.  
  351. TEAM_REBELLION = DarkRP.createJob("Jyn Erso", {
  352.     color = Color(237, 199, 0, 255),
  353.     model = "models/player/hydro/swbf_jyn_erso/swbf_jyn_erso.mdl",
  354.     description = [[ You can give orders to all ground troops under your superior's command.  [LEVEL 40] ]],
  355.    weapons = {"weapon_dl18","weapon_bacta_grenade"},
  356.    command = "erso",
  357.    max = 1,
  358.    salary = 50,
  359.     category = "Rebellion",
  360.     sortOrder = 7,
  361.    admin = 0,
  362.    vote = false,
  363.     level = 40,
  364.     PlayerLoadout = function(ply)
  365.         ply:SetHealth(650)
  366.         ply:SetMaxHealth(650)
  367.     end,
  368. })
  369.  
  370.  
  371.  
  372. --------------------------------------------------------------------------------
  373. ------------------------------ Outlanders --------------------------------------
  374. --------------------------------------------------------------------------------
  375.  
  376. TEAM_OUTLANDERS1 = DarkRP.createJob("Jawa", {
  377.    color = Color(143, 111, 82, 255),
  378.    model = "models/player/starwars/b4p_jawa.mdl",
  379.    description = [[ You are a jawa, go steal things and cause trouble.  [LEVEL 15] ]],
  380.    weapons = {"weapon_ca87"},
  381.    command = "jawa",
  382.    max = 10,
  383.    salary = 50,
  384.     category = "Outlanders",
  385.     sortOrder = 7,
  386.    admin = 0,
  387.    vote = false,
  388.     level = 15,
  389.     PlayerLoadout = function(ply)
  390.         ply:SetHealth(200)
  391.         ply:SetMaxHealth(650)
  392.     end,
  393. })
  394.  
  395. TEAM_OUTLANDERS = DarkRP.createJob("Tusken Raider", {
  396.    color = Color(143, 111, 82, 255),
  397.    model = "models/zyan7259/zusken_raider_player/zusken_raider_player.mdl",
  398.    description = [[You are KOS by every other human(not jawas). You may kill who ever you want if they are outside the city. You may not enter the city.  [LEVEL 25] ]],
  399.    weapons = {"weapon_cycler", "knockout"},
  400.    command = "tuskenraider",
  401.    max = 8,
  402.    salary = 50,
  403.     category = "Outlanders",
  404.     sortOrder = 7,
  405.    admin = 0,
  406.    vote = false,
  407.     modelScale = 0.6,
  408.     level = 25,
  409.     PlayerLoadout = function(ply)
  410.         ply:SetHealth(300)
  411.         ply:SetMaxHealth(300)
  412.     end,
  413. })
  414.  
  415.  
  416.  
  417.  
  418. --------------------------------------------------------------------------------
  419. ------------------------------ bountyHunters -----------------------------------
  420. --------------------------------------------------------------------------------
  421.  
  422.  
  423.  
  424.  
  425.  
  426. --------------------------------------------------------------------------------
  427. ----------------------------------- Sith ---------------------------------------
  428. --------------------------------------------------------------------------------
  429.  
  430.  
  431.  
  432.  
  433.  
  434. --------------------------------------------------------------------------------
  435. ------------------------------------ Jedi --------------------------------------
  436. --------------------------------------------------------------------------------
  437.  
  438.  
  439.  
  440.  
  441.  
  442. --------------------------------------------------------------------------------
  443. ------------------------------ Custom Classes ----------------------------------
  444. --------------------------------------------------------------------------------
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451. --[[---------------------------------------------------------------------------
  452. Define which team joining players spawn into and what team you change to if demoted
  453. ---------------------------------------------------------------------------]]
  454. GAMEMODE.DefaultTeam = TEAM_SPAWNING
  455.  
  456.  
  457. --[[---------------------------------------------------------------------------
  458. Define which teams belong to civil protection
  459. Civil protection can set warrants, make people wanted and do some other police related things
  460. ---------------------------------------------------------------------------]]
  461. GAMEMODE.CivilProtection = {
  462.     [TEAM_POLICE] = true,
  463.     [TEAM_POLICE1] = true,
  464.     [TEAM_POLICE2] = true,
  465.     [TEAM_POLICE3] = true,
  466.     [TEAM_POLICE4] = true,
  467.     [TEAM_POLICE5] = true,
  468.     [TEAM_POLICE6] = true,
  469.     [TEAM_POLICE7] = true,
  470.     [TEAM_POLICE8] = true,
  471. }
  472.  
  473. --[[---------------------------------------------------------------------------
  474. Jobs that are hitmen (enables the hitman menu)
  475. ---------------------------------------------------------------------------]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement