Advertisement
Guest User

DarkRP Jobs

a guest
Dec 8th, 2019
4,246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 27.25 KB | None | 0 0
  1. --[[
  2. GET / HTTP/1.1
  3. Accept-Encoding: identity
  4. Host: 92.222.96.148
  5. Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  6. User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36
  7.  
  8. DarkRP that you edited.
  9.  
  10. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  11.     Once you've done that, copy and paste the job to this file and edit it.
  12.  
  13. The default jobs can be found here:
  14. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  15.  
  16. For examples and explanation please visit this wiki page:
  17. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  18.  
  19.  
  20. Add jobs under the following line:
  21. ---------------------------------------------------------------------------]]
  22.  
  23. -- Government Category
  24. TEAM_MAYOR = DarkRP.createJob("Mayor", {
  25.     color = Color(192, 38, 0, 255),
  26.     model = {"models/player/breen.mdl"},
  27.     description = [[Your city, your rules.
  28.         Set the laws in which citizens and the rest will obide by!
  29.         You have the Police and Armed Response at your side.]],
  30.     weapons = {"unarrest_stick", "stunstick"},
  31.     command = "mayor",
  32.     max = 1,
  33.     salary = 200,
  34.     admin = 0,
  35.     vote = false,
  36.     hasLicense = true,
  37.     candemote = false,
  38.     category = "Government",
  39.     mayor = true,
  40.     PlayerSpawn = function(ply)
  41.         ply:SetMaxHealth(100)
  42.         ply:SetHealth(100)
  43.         ply:SetArmor(50)
  44.     end,
  45.     PlayerDeath = function(ply, weapon, killer)
  46.         ply:teamBan()
  47.         ply:changeTeam(GAMEMODE.DefaultTeam, true)
  48.         DarkRP.notifyAll(0, 4, "The Mayor has died!")
  49.     end
  50. })
  51.  
  52. TEAM_MSECURITY = DarkRP.createJob("Mayor's Bodyguard", {
  53.     color = Color(183, 97, 0, 255),
  54.     model = {"models/player/suits/male_02_open.mdl"},
  55.     description = [[Protect the Mayor at all costs!
  56. There is no time for mistakes now.]],
  57.     weapons = {"stunstick"},
  58.     command = "msecurity",
  59.     max = 2,
  60.     salary = 150,
  61.     admin = 0,
  62.     vote = false,
  63.     hasLicense = true,
  64.     candemote = false,
  65.     category = "Government",
  66.     PlayerSpawn = function(ply)
  67.         ply:SetMaxHealth(100)
  68.         ply:SetHealth(100)
  69.         ply:SetArmor(50)
  70.     end
  71. })
  72.  
  73. TEAM_SWATSERGEANT = DarkRP.createJob("S.W.A.T Sergeant", {
  74.     color = Color(102, 51, 0, 255),
  75.     model = {"models/player/raid/raid_01.mdl"},
  76.     description = [[The S.W.A.T Sergeant must ensure the safety of the City!
  77.             You are in charge of the S.W.A.T and Police teams.
  78.             You may assist Mayor's Bodyguard in the Mayors safety while not responding to a call.]],
  79.    weapons = {"arrest_stick", "taser", "unarrest_stick", "door_ram", "weaponchecker", "m9k_m4a1", "m9k_colt1911"},
  80.    command = "swatsergeant",
  81.    max = 1,
  82.    salary = 175,
  83.    admin = 0,
  84.    vote = false,
  85.    hasLicense = true,
  86.    candemote = false,
  87.    category = "Donator",
  88.    ammo = {
  89.        ["m9k_ammo_ar2"] = 150,
  90.        ["m9k_ammo_pistol"] =  90
  91.    },
  92.    PlayerSpawn = function(ply)
  93.        ply:SetMaxHealth(100)
  94.        ply:SetHealth(100)
  95.        ply:SetArmor(100)
  96.    end,
  97.    customCheck = function(ply) return CLIENT or
  98.        table.HasValue({"donator", "superadmin", "developer", "admin", "moderator", "founder"}, ply:GetNWString("usergroup"))
  99.    end,
  100.    CustomCheckFailMsg = "This job requires Donator Status.",
  101. })
  102.  
  103. TEAM_SWATSNIPER = DarkRP.createJob("S.W.A.T Sniper", {
  104.    color = Color(112, 56, 0, 255),
  105.    model = {"models/player/raid/raid_06.mdl",
  106.     "models/player/raid/raid_05.mdl"
  107.     },
  108.    description = [[S.W.A.T Sniper must be prepared to assist the Sergeant in raids.
  109.             Whilst not out, you must ensure the PD is safe from any raiders.]],
  110.    weapons = {"arrest_stick", "unarrest_stick", "door_ram", "weaponchecker", "m9k_aw50", "m9k_colt1911", "taser"},
  111.    command = "swatsniper",
  112.    max = 4,
  113.    salary = 150,
  114.    admin = 0,
  115.    vote = false,
  116.    hasLicense = true,
  117.    candemote = false,
  118.    category = "Government",
  119.    ammo = {
  120.        ["m9k_ammo_ar2"] = 150,
  121.        ["m9k_ammo_pistol"] =  90
  122.    },
  123.    PlayerSpawn = function(ply)
  124.        ply:SetMaxHealth(100)
  125.        ply:SetHealth(100)
  126.        ply:SetArmor(100)
  127.    end,
  128. })
  129.  
  130. TEAM_SWAT = DarkRP.createJob("S.W.A.T Member", {
  131.    color = Color(112, 56, 0, 255),
  132.    model = {"models/player/raid/raid_06.mdl",
  133.     "models/player/raid/raid_05.mdl"
  134.     },
  135.    description = [[S.W.A.T Member must be prepared to assist the Sergeant in raids.
  136.             Whilst not out, you must ensure the PD is safe from any raiders.]],
  137.    weapons = {"arrest_stick", "unarrest_stick", "door_ram", "weaponchecker", "m9k_g36", "m9k_colt1911", "taser"},
  138.    command = "swat",
  139.    max = 4,
  140.    salary = 150,
  141.    admin = 0,
  142.    vote = false,
  143.    hasLicense = true,
  144.    candemote = false,
  145.    category = "Government",
  146.    ammo = {
  147.        ["m9k_ammo_ar2"] = 150,
  148.        ["m9k_ammo_pistol"] =  90
  149.    },
  150.    PlayerSpawn = function(ply)
  151.        ply:SetMaxHealth(100)
  152.        ply:SetHealth(100)
  153.        ply:SetArmor(100)
  154.    end,
  155. })
  156.  
  157. TEAM_LUI = DarkRP.createJob("Police Sergeant", {
  158.    color = Color(36, 75, 183, 255),
  159.    model = {"models/taggart/police01/male_04.mdl"},
  160.    description = [[As Police Lieutenant you are in-charge of the Police Force.
  161.             You may carry out small simple raids, however A.R.U are required for large drug busts.]],
  162.    weapons = {"arrest_stick", "unarrest_stick", "door_ram", "weaponchecker", "m9k_deagle", "taser"},
  163.    command = "sergeant",
  164.    max = 1,
  165.    salary = 150,
  166.    admin = 0,
  167.    vote = true,
  168.    hasLicense = true,
  169.     chief = true,
  170.    candemote = false,
  171.    category = "Government",
  172.    ammo = {
  173.        ["m9k_ammo_pistol"] = 120
  174.    },
  175.    PlayerSpawn = function(ply)
  176.        ply:SetMaxHealth(100)
  177.        ply:SetHealth(100)
  178.        ply:SetArmor(100)
  179.    end
  180. })
  181.  
  182. TEAM_POLICE = DarkRP.createJob("Police Officer", {
  183.    color = Color(77, 143, 240, 255),
  184.    model = {"models/taggart/police01/male_01.mdl",
  185.     "models/taggart/police01/male_02.mdl",
  186.     "models/taggart/police01/male_03.mdl",
  187.     "models/taggart/police01/male_05.mdl"
  188.     },
  189.     description = [[Police Officer's must ensure the safety of the citizens.
  190.             You must follow instructions provided by your Sergeant]],
  191.     weapons = {"arrest_stick", "unarrest_stick", "door_ram", "weaponchecker", "m9k_m92beretta", "taser"},
  192.     command = "police",
  193.     max = 4,
  194.     salary = 125,
  195.     admin = 0,
  196.     vote = false,
  197.     hasLicense = true,
  198.     candemote = false,
  199.     category = "Government",
  200.     ammo = {
  201.         ["m9k_ammo_pistol"] = 120
  202.     },
  203.     PlayerSpawn = function(ply)
  204.         ply:SetMaxHealth(100)
  205.         ply:SetHealth(100)
  206.         ply:SetArmor(100)
  207.     end
  208. })
  209.  
  210. TEAM_MEDIC = DarkRP.createJob("Paramedic", {
  211.     color = Color(42, 215, 255, 255),
  212.     model = {
  213.         "models/player/Group03m/male_05.mdl",
  214.         "models/player/Group03m/male_03.mdl",
  215.         "models/player/Group03m/female_01.mdl"
  216.     },
  217.     description = [[Paramedic's must ensure the health of EvoCity.
  218.         No matter how busy you may get, you must always make time for ill citizens.]],
  219.    weapons = {"weapon_medkit", "weapon_defibrillator"},
  220.    command = "medic",
  221.    max = 3,
  222.    salary = 125,
  223.    admin = 0,
  224.    vote = false,
  225.    hasLicense = false,
  226.    candemote = false,
  227.    category = "Government",
  228.    medic = true,
  229.    ammo = {
  230.        ["item_healthkit"] = 200
  231.    },
  232.    PlayerSpawn = function(ply)
  233.        ply:SetMaxHealth(100)
  234.        ply:SetHealth(100)
  235.        ply:SetArmor(98)
  236.    end
  237. })
  238.  
  239. -- Citizen Category
  240.  
  241. TEAM_CITIZEN = DarkRP.createJob("Citizen", {
  242.    color = Color(5, 181, 0, 255),
  243.    model = {
  244.        "models/player/Group01/male_01.mdl",
  245.        "models/player/Group01/male_02.mdl",
  246.        "models/player/Group01/male_03.mdl",
  247.        "models/player/Group01/male_04.mdl",
  248.        "models/player/Group01/male_05.mdl",
  249.        "models/player/Group01/male_06.mdl",
  250.        "models/player/Group01/male_07.mdl",
  251.        "models/player/Group01/male_08.mdl",
  252.        "models/player/Group01/male_09.mdl",
  253.        "models/player/Group01/female_01.mdl",
  254.         "models/player/Group01/female_02.mdl",
  255.         "models/player/Group01/female_03.mdl",
  256.         "models/player/Group01/female_04.mdl",
  257.         "models/player/Group01/female_05.mdl",
  258.         "models/player/Group01/female_06.mdl"
  259.    },
  260.    description = [[The Citizen is the most basic level of society you can hold besides being a hobo.
  261.             You have no specific role in city life.]],
  262.    weapons = {},
  263.    command = "citizen",
  264.    max = 0,
  265.    salary = 50,
  266.    admin = 0,
  267.    vote = false,
  268.    hasLicense = false,
  269.    candemote = false,
  270.    category = "Citizens",
  271.    PlayerSpawn = function(ply)
  272.        ply:SetMaxHealth(100)
  273.        ply:SetHealth(100)
  274.        ply:SetArmor(0)
  275.    end
  276. })
  277.  
  278. TEAM_HOBO = DarkRP.createJob("Hobo", {
  279.    color = Color(110, 62, 0, 255),
  280.    model = {"models/player/corpse1.mdl"},
  281.    description = [[The Citizen is the lowest level of society you can hold.
  282.             You have no role in city life.]],
  283.    weapons = {"bugbait"},
  284.    command = "hobo",
  285.    max = 0,
  286.    salary = 50,
  287.    admin = 0,
  288.    vote = false,
  289.    hasLicense = false,
  290.    candemote = false,
  291.    category = "Citizens",
  292.    PlayerSpawn = function(ply)
  293.        ply:SetMaxHealth(100)
  294.        ply:SetHealth(100)
  295.    end
  296. })
  297.  
  298. TEAM_LFIREARM = DarkRP.createJob("Light Firearms Dealer", {
  299.    color = Color(240, 88, 0, 255),
  300.    model = {"models/player/monk.mdl"},
  301.    description = [[As a Fire Arms Dealer, you may legally sell guns.
  302.         However you must own a License to sell weapons.]],
  303.    weapons = {},
  304.    command = "lfirearms",
  305.    max = 2,
  306.    salary = 75,
  307.    admin = 0,
  308.    vote = false,
  309.    hasLicense = false,
  310.    candemote = false,
  311.    category = "Citizens",
  312.    PlayerSpawn = function(ply)
  313.        ply:SetMaxHealth(100)
  314.        ply:SetHealth(100)
  315.    end
  316. })
  317.  
  318. TEAM_HFIREARM = DarkRP.createJob("Heavy Firearms Dealer", {
  319.    color = Color(240, 88, 0, 255),
  320.    model = {"models/player/monk.mdl"},
  321.    description = [[As a Fire Arms Dealer, you may legally sell guns.
  322.         However you must own a License to sell weapons.]],
  323.    weapons = {},
  324.    command = "hfirearms",
  325.    max = 1,
  326.    salary = 75,
  327.    admin = 0,
  328.    vote = false,
  329.    hasLicense = false,
  330.    candemote = false,
  331.    category = "Citizens",
  332.    PlayerSpawn = function(ply)
  333.        ply:SetMaxHealth(100)
  334.        ply:SetHealth(100)
  335.    end
  336. })
  337.  
  338. TEAM_SGUARD = DarkRP.createJob("Security Guard", {
  339.    color = Color(0, 187, 201, 255),
  340.    model = {"models/player/leet.mdl"},
  341.    description = [[You are a Security Guard.
  342.             Your services may be hired by anybody.
  343.             Your job is to protect them/their shops!]],
  344.    weapons = {"stunstick"},
  345.    command = "sguard",
  346.    max = 2,
  347.    salary = 100,
  348.    admin = 0,
  349.    vote = false,
  350.    hasLicense = false,
  351.    candemote = false,
  352.    category = "Citizens",
  353.    PlayerSpawn = function(ply)
  354.        ply:SetMaxHealth(100)
  355.        ply:SetHealth(100)
  356.    end
  357. })
  358.  
  359. TEAM_TAXI = DarkRP.createJob("Taxi Driver", {
  360.    color = Color(253, 214, 15, 255),
  361.    model = {
  362.        "models/player/hostage/hostage_02.mdl",
  363.        "models/player/hostage/hostage_03.mdl"
  364.    },
  365.    description = [[You are a Taxi Driver.
  366.             You must purchase a taxi.
  367.             You may charge people for a drive
  368.             Around the map.
  369.             Max Charge. 2,500]],
  370.    weapons = {},
  371.    command = "taxi",
  372.    max = 2,
  373.    salary = 75,
  374.    admin = 0,
  375.    vote = false,
  376.    hasLicense = false,
  377.    candemote = false,
  378.    category = "Citizens",
  379.    PlayerSpawn = function(ply)
  380.        ply:SetMaxHealth(100)
  381.        ply:SetHealth(100)
  382.    end
  383. })
  384.  
  385. TEAM_CINEMA = DarkRP.createJob("Cinema Owner", {
  386.    color = Color(205, 0, 255, 255),
  387.    model = {"models/player/suits/male_04_open_tie.mdl"},
  388.    description = [[As a Cinema Owner, you must play recent films,
  389.         as well as ensuring people enjoy themselves!]],
  390.    weapons = {},
  391.    command = "cinema",
  392.    max = 1,
  393.    salary = 75,
  394.    admin = 0,
  395.    vote = false,
  396.    hasLicense = false,
  397.    candemote = false,
  398.    category = "Citizens",
  399.    PlayerSpawn = function(ply)
  400.        ply:SetMaxHealth(100)
  401.        ply:SetHealth(100)
  402.    end
  403. })
  404.  
  405. TEAM_BANK = DarkRP.createJob("Banker", {
  406.    color = Color(0, 255, 213, 255),
  407.    model = {"models/player/suits/male_04_open_tie.mdl"},
  408.    description = [[As a banker, you must uphold the confidentiality of peoples privacy,
  409.         as well as ensuring the bank vault remains un-touched.]],
  410.    weapons = {},
  411.    command = "banker",
  412.    max = 2,
  413.    salary = 75,
  414.    admin = 0,
  415.    vote = false,
  416.    hasLicense = false,
  417.    candemote = false,
  418.    category = "Citizens",
  419.    PlayerSpawn = function(ply)
  420.        ply:SetMaxHealth(100)
  421.        ply:SetHealth(100)
  422.    end
  423. })
  424.  
  425. TEAM_HOTEL = DarkRP.createJob("Hotel Manager", {
  426.    color = Color(63, 210, 0, 255),
  427.    model = {"models/player/suits/male_09_open_tie.mdl"},
  428.    description = [[A hotel manager, must ensure the cleanliness of his/her hotel.
  429.     In addition, to making certain customers are happy and enjoy their stay!]],
  430.    weapons = {},
  431.    command = "hotel",
  432.    max = 1,
  433.    salary = 75,
  434.    admin = 0,
  435.    vote = false,
  436.    hasLicense = true,
  437.    candemote = false,
  438.    category = "Citizens",
  439.    PlayerSpawn = function(ply)
  440.        ply:SetMaxHealth(100)
  441.        ply:SetHealth(100)
  442.    end
  443. })
  444.  
  445. TEAM_CASINO = DarkRP.createJob("Casino Manager", {
  446.    color = Color(210, 0, 175, 255),
  447.    model = {"models/player/suits/male_08_closed_tie.mdl"},
  448.    description = [[As a Casino Manager, you must ensure the success of your casino,
  449.         as well as ensuring clients enjoy their time!]],
  450.    weapons = {},
  451.    command = "casino",
  452.    max = 2,
  453.    salary = 75,
  454.    admin = 0,
  455.    vote = false,
  456.    hasLicense = false,
  457.    candemote = false,
  458.    category = "Citizens",
  459.    PlayerSpawn = function(ply)
  460.        ply:SetMaxHealth(100)
  461.        ply:SetHealth(100)
  462.    end
  463. })
  464.  
  465. TEAM_CLUB = DarkRP.createJob("Club Owner", {
  466.    color = Color(94, 0, 156, 255),
  467.    model = {"models/player/suits/male_03_open_tie.mdl"},
  468.    description = [[As a Club Owner, you must ensure the success of your club,
  469.         as well as ensuring people enjoy their time!]],
  470.    weapons = {},
  471.    command = "club",
  472.    max = 1,
  473.    salary = 75,
  474.    admin = 0,
  475.    vote = false,
  476.    hasLicense = false,
  477.    candemote = false,
  478.    category = "Citizens",
  479.    PlayerSpawn = function(ply)
  480.        ply:SetMaxHealth(100)
  481.        ply:SetHealth(100)
  482.    end
  483. })
  484.  
  485. TEAM_MECHANIC = DarkRP.createJob("Mechanic", {
  486.    color = Color(46, 134, 87, 255),
  487.    model = {"models/player/guerilla.mdl"},
  488.    description = [[As a Mechanic, you have the authority to work on peoples vehicles.
  489.         However you do need their permission.]],
  490.    weapons = {},
  491.    command = "mechanic",
  492.    max = 2,
  493.    salary = 75,
  494.    admin = 0,
  495.    vote = false,
  496.    hasLicense = false,
  497.    candemote = false,
  498.    category = "Citizens",
  499.    PlayerSpawn = function(ply)
  500.        ply:SetMaxHealth(100)
  501.        ply:SetHealth(100)
  502.    end
  503. })
  504.  
  505. TEAM_BUILD = DarkRP.createJob("Builder", {
  506.    color = Color(226, 181, 0, 255),
  507.    model = {"models/player/hostage/hostage_04.mdl"},
  508.    description = [[As a Construction Worker, you may be called upon
  509.         to build a base for somebody, and earn yourself some cash!]],
  510.    weapons = {},
  511.    command = "builder",
  512.    max = 2,
  513.    salary = 75,
  514.    admin = 0,
  515.    vote = false,
  516.    hasLicense = false,
  517.    candemote = false,
  518.    category = "Citizens",
  519.    PlayerSpawn = function(ply)
  520.        ply:SetMaxHealth(100)
  521.        ply:SetHealth(100)
  522.    end
  523. })
  524.  
  525. TEAM_ALCOHOL = DarkRP.createJob("Alcohol Brewer", {
  526.    color = Color(46, 134, 87, 255),
  527.    model = {"models/dxn/cod_ghosts/hazmat_pm.mdl"},
  528.    description = [[As an Alcohol Brewer, you brew/create alcohol to make your living.
  529.         In which you can sell and earn money.]],
  530.    weapons = {},
  531.    command = "alcbrew",
  532.    max = 2,
  533.    salary = 75,
  534.    admin = 0,
  535.    vote = false,
  536.    hasLicense = false,
  537.    candemote = false,
  538.    category = "Citizens",
  539.    PlayerSpawn = function(ply)
  540.        ply:SetMaxHealth(100)
  541.        ply:SetHealth(100)
  542.    end
  543. })
  544.  
  545. -- Criminal Category
  546. TEAM_BMDEALER = DarkRP.createJob("Black Market Dealer", {
  547.    color = Color(112, 88, 137, 255),
  548.    model = {"models/player/phoenix.mdl"},
  549.    description = [[You are a Black Market Dealer.
  550.             However, you sell only illegal items!
  551.             Therefore be careful,]],
  552.    weapons = {},
  553.    command = "bmdealer",
  554.    max = 2,
  555.    salary = 75,
  556.    admin = 0,
  557.    vote = false,
  558.    hasLicense = false,
  559.    candemote = false,
  560.    category = "Criminals",
  561.    PlayerSpawn = function(ply)
  562.        ply:SetMaxHealth(100)
  563.        ply:SetHealth(100)
  564.    end
  565. })
  566.  
  567. TEAM_COCAINE = DarkRP.createJob("Cocaine Dealer", {
  568.    color = Color(94, 94, 94, 255),
  569.    model = {"models/bloocobalt/splinter cell/chemsuit_cod.mdl"},
  570.    description = [[You are a Cocaine Dealer.
  571.             You are one of the most illegal members of civilization...
  572.             You can make Cocaine and Sell it to a buyer for a large price.
  573.             Be careful, and watch out for the Police!]],
  574.    weapons = {},
  575.    command = "cocaine",
  576.    max = 2,
  577.    salary = 50,
  578.    admin = 0,
  579.    vote = false,
  580.    hasLicense = false,
  581.    candemote = false,
  582.    category = "Criminals"
  583. })
  584.  
  585. TEAM_WEED = DarkRP.createJob("Weed Dealer", {
  586.    color = Color(39, 145, 0, 255),
  587.    model = {"models/bloocobalt/splinter cell/chemsuit_cod.mdl"},
  588.    description = [[You are a Weed Dealer.
  589.             You are one of the most illegal members of civilization...
  590.             You can make Weed and Sell it to a buyer for a large price.
  591.             Be careful, and watch out for the Police!]],
  592.    weapons = {"weedbong"},
  593.    command = "weed",
  594.    max = 2,
  595.    salary = 50,
  596.    admin = 0,
  597.    vote = false,
  598.    hasLicense = false,
  599.    candemote = false,
  600.    category = "Criminals"
  601. })
  602.  
  603. TEAM_THIEF = DarkRP.createJob("Thief", {
  604.    color = Color(158, 158, 158, 255),
  605.    model = {"models/player/wisay/thief.mdl"},
  606.    description = [[You are a Thief.
  607.             You may base, raid and kill.
  608.             To kill you need a valid RP reason though.
  609.             You may raid once every 10 minutes.]],
  610.    weapons = {"lockpick"},
  611.    command = "thief",
  612.    max = 6,
  613.    salary = 25,
  614.    admin = 0,
  615.    vote = false,
  616.    hasLicense = false,
  617.    candemote = false,
  618.    category = "Criminals",
  619.    PlayerSpawn = function(ply)
  620.        ply:SetMaxHealth(100)
  621.        ply:SetHealth(100)
  622.        ply:SetArmor(0)
  623.    end
  624. })
  625.  
  626. TEAM_HITMAN = DarkRP.createJob("Hitman", {
  627.    color = Color(112, 88, 137, 255),
  628.    model = {"models/player/gman_high.mdl"},
  629.    description = [[You are a Hitman.
  630.         You may accept and complete hits!
  631.         You may also be hired by different organisations!]],
  632.    weapons = {"lockpick", "m9k_luger"},
  633.    command = "hitman",
  634.    max = 2,
  635.    salary = 75,
  636.    admin = 0,
  637.    vote = false,
  638.    hasLicense = false,
  639.    candemote = false,
  640.    category = "Criminals",
  641.    PlayerSpawn = function(ply)
  642.        ply:SetMaxHealth(100)
  643.        ply:SetHealth(100)
  644.    end
  645. })
  646.  
  647. -- Gang Category
  648.  
  649. TEAM_MAFIABOSS = DarkRP.createJob("Mafia Boss", {
  650.    color = Color(149, 0, 45, 255),
  651.    model = {"models/player/suits/male_01_closed_coat_tie.mdl"},
  652.    description = [[You are the Mafia Boss.
  653.             You must create a base somewhere hidden and secluded.
  654.             Lead your Mafia Members to success!]],
  655.    weapons = {"lockpick"},
  656.    command = "mafiaboss",
  657.    max = 1,
  658.    salary = 50,
  659.    admin = 0,
  660.    vote = false,
  661.    hasLicense = false,
  662.    candemote = false,
  663.    category = "Gangs",
  664.    PlayerSpawn = function(ply)
  665.        ply:SetMaxHealth(100)
  666.        ply:SetHealth(100)
  667.        ply:SetArmor(0)
  668.    end
  669. })
  670.  
  671. TEAM_MAFIA = DarkRP.createJob("Mafia Member", {
  672.    color = Color(188, 0, 56, 255),
  673.    model = {"models/player/suits/male_04_open_waistcoat.mdl",
  674.        "models/player/suits/male_07_open_waistcoat.mdl"
  675. },
  676.    description = [[You are part of the Mafia.
  677.             One of the most successful criminal organisations ever.
  678.             You must show everybody how powerful you are!
  679.             Don't let anybody get the better of you.]],
  680.     weapons = {},
  681.     command = "mafia",
  682.     max = 4,
  683.     salary = 25,
  684.     admin = 0,
  685.     vote = false,
  686.     hasLicense = false,
  687.     candemote = false,
  688.     category = "Gangs",
  689.     PlayerSpawn = function(ply)
  690.         ply:SetMaxHealth(100)
  691.         ply:SetHealth(100)
  692.         ply:SetArmor(0)
  693.     end
  694. })
  695.  
  696. TEAM_CARTELLEADER = DarkRP.createJob("Cartel Leader", {
  697.     color = Color(98, 0, 174, 255),
  698.     model = {"models/characters/gallaha.mdl"},
  699.     description = [[You are the Cartel Leader.
  700.             You must show everyone your power.
  701.             Show your rivals, the Mafia, that you are not to be messed with.]],
  702.     weapons = {"lockpick"},
  703.     command = "cartelleader",
  704.     max = 1,
  705.     salary = 50,
  706.     admin = 0,
  707.     vote = false,
  708.     hasLicense = false,
  709.     candemote = false,
  710.     category = "Gangs",
  711.     PlayerSpawn = function(ply)
  712.         ply:SetMaxHealth(100)
  713.         ply:SetHealth(100)
  714.         ply:SetArmor(0)
  715.     end
  716. })
  717.  
  718. TEAM_CARTEL = DarkRP.createJob("Cartel Member", {
  719.     color = Color(109, 0, 192, 255),
  720.     model = {
  721.         "models/humans/jacketntie/male_05.mdl",
  722.         "models/humans/jacketntie/male_07.mdl",
  723.         "models/humans/jacketntie/male_09.mdl"
  724.     },
  725.     description = [[You are part of the Cartel,
  726.         you must back up your leader and aid him
  727.         where you can!]],
  728.     weapons = {},
  729.     command = "cartel",
  730.     max = 4,
  731.     salary = 25,
  732.     admin = 0,
  733.     vote = false,
  734.     hasLicense = false,
  735.     candemote = false,
  736.     category = "Gangs",
  737.     PlayerSpawn = function(ply)
  738.         ply:SetMaxHealth(100)
  739.         ply:SetHealth(100)
  740.         ply:SetArmor(0)
  741.     end
  742. })
  743.  
  744. --Donator jobs
  745. TEAM_PTHIEF = DarkRP.createJob("Professional Thief", {
  746.     color = Color(128, 128, 128, 255),
  747.     model = {"models/grandtheftauto5/michael.mdl",
  748.     "models/grandtheftauto5/trevor.mdl",
  749.     "models/grandtheftauto5/franklin.mdl"
  750.     },
  751.     description = [[You are a Professional Thief.
  752.             You may base, raid and kill.
  753.             To kill you need a valid RP reason though.
  754.             You may raid once every 5 minutes.]],
  755.     weapons = {"pro_lockpick", "prokeypadcracker"},
  756.     command = "pthief",
  757.     max = 6,
  758.     salary = 125,
  759.     admin = 0,
  760.     vote = false,
  761.     hasLicense = false,
  762.     candemote = false,
  763.     category = "Donator",
  764.     PlayerSpawn = function(ply)
  765.         ply:SetMaxHealth(100)
  766.         ply:SetHealth(100)
  767.     end,
  768.     customCheck = function(ply) return CLIENT or
  769.         table.HasValue({"donator", "superadmin", "developer", "admin", "moderator", "founder"}, ply:GetNWString("usergroup"))
  770.     end,
  771.     CustomCheckFailMsg = "This job requires Donator Status.",
  772. })
  773.  
  774. TEAM_MERC = DarkRP.createJob("Private Mercenary", {
  775.     color = Color(0, 102, 0, 255),
  776.     model = {"models/player/pmc_1/pmc__03.mdl",
  777.     "models/player/pmc_1/pmc__02.mdl",
  778.     "models/player/pmc_1/pmc__08.mdl"
  779.     },
  780.     description = [[Private Mercenary's can be hired by people/groups to protect them/their base.
  781.     You are heavily armed. Protect your VIP with any means necessary.]],
  782.    weapons = {"pro_lockpick", "prokeypadcracker", "m9k_scar", "m9k_luger"},
  783.    command = "mercenary",
  784.    max = 4,
  785.    salary = 125,
  786.    admin = 0,
  787.    vote = false,
  788.    hasLicense = true,
  789.    candemote = false,
  790.    category = "Donator",
  791.         ammo = {
  792.        ["m9k_ammo_ar2"] = 150,
  793.         ["m9k_ammo_pistol"] = 30,
  794.    },
  795.    PlayerSpawn = function(ply)
  796.        ply:SetMaxHealth(100)
  797.        ply:SetHealth(100)
  798.         ply:SetArmor(100)
  799.    end,
  800.    customCheck = function(ply) return CLIENT or
  801.        table.HasValue({"donator", "superadmin", "developer", "admin", "moderator", "founder"}, ply:GetNWString("usergroup"))
  802.    end,
  803.    CustomCheckFailMsg = "This job requires Donator Status.",
  804. })
  805.  
  806. TEAM_ASSASSIN = DarkRP.createJob("Private Assassin", {
  807.    color = Color(141, 80, 0, 255),
  808.    model = {"models/kryptonite/inj2_ios_deadshot/inj2_ios_deadshot.mdl"},
  809.    description = [[Private Assassin's may take hits and must complete them.]],
  810.     weapons = {"pro_lockpick", "prokeypadcracker", "m9k_m3"},
  811.     command = "passassin",
  812.     max = 1,
  813.     salary = 125,
  814.     admin = 0,
  815.     vote = false,
  816.     hasLicense = false,
  817.     candemote = false,
  818.     category = "Donator",
  819.     ammo = {
  820.         ["m9k_ammo_buckshot"] = 60
  821.     },
  822.     PlayerSpawn = function(ply)
  823.         ply:SetMaxHealth(100)
  824.         ply:SetHealth(100)
  825.         ply:SetArmor(100)
  826.     end,
  827.     customCheck = function(ply) return CLIENT or
  828.         table.HasValue({"donator", "superadmin", "developer", "admin", "moderator", "founder"}, ply:GetNWString("usergroup"))
  829.     end,
  830.     CustomCheckFailMsg = "This job requires Donator Status.",
  831. })
  832.  
  833. TEAM_DEADPOOL = DarkRP.createJob("Deadpool", {
  834.     color = Color(158, 0, 0, 255),
  835.     model = {"models/player/valley/deadpool.mdl"},
  836.     description = [[As Deadpool, you may team with the Government to help bring justice.]],
  837.     weapons = {"arrest_stick", "unarrest_stick", "pro_lockpick", "weaponchecker", "m9k_mp5", "m9k_damascus"},
  838.     command = "deadpool",
  839.     max = 1,
  840.     salary = 150,
  841.     admin = 0,
  842.     vote = false,
  843.     hasLicense = true,
  844.     candemote = false,
  845.     category = "Donator",
  846.     ammo = {
  847.         ["m9k_ammo_smg"] = 150},
  848.     PlayerSpawn = function(ply)
  849.         ply:SetMaxHealth(100)
  850.         ply:SetHealth(100)
  851.         ply:SetArmor(100)
  852.     end,
  853.     customCheck = function(ply) return CLIENT or
  854.         table.HasValue({"donator", "superadmin", "developer", "admin", "moderator", "founder"}, ply:GetNWString("usergroup"))
  855.     end,
  856.     CustomCheckFailMsg = "This job requires Donator Status.",
  857. })
  858.  
  859. --Staff jobs
  860. TEAM_SOD = DarkRP.createJob("Staff on Duty", {
  861.     color = Color(0, 204, 204, 255),
  862.     model = {"models/fearless/02.mdl"},
  863.     description = [[As Staff on Duty, you cannot print, raid or take part in any roleplay.
  864.         It is your job now to ensure the server is running smoothly.]],
  865.     weapons = {"unarrest_stick", "weaponchecker"},
  866.     command = "sod",
  867.     max = 0,
  868.     salary = 0,
  869.     admin = 0,
  870.     vote = false,
  871.     hasLicense = true,
  872.     candemote = true,
  873.     category = "Staff",
  874.     PlayerSpawn = function(ply)
  875.         ply:SetMaxHealth(100)
  876.         ply:SetHealth(100)
  877.         ply:SetArmor(100)
  878.     end,
  879.     customCheck = function(ply) return CLIENT or
  880.         table.HasValue({"founder", "superadmin", "admin", "moderator"}, ply:GetNWString("usergroup"))
  881.     end,
  882.     CustomCheckFailMsg = "This job requires Staff Status.",
  883. })
  884. --[[---------------------------------------------------------------------------
  885. Define which team joining players spawn into and what team you change to if demoted
  886. ---------------------------------------------------------------------------]]
  887. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  888.  
  889.  
  890. --[[---------------------------------------------------------------------------
  891. Define which teams belong to civil protection
  892. Civil protection can set warrants, make people wanted and do some other police related things
  893. ---------------------------------------------------------------------------]]
  894. GAMEMODE.CivilProtection = {
  895.     [TEAM_MAYOR] = true,
  896.     [TEAM_SWATSERGEANT] = true,
  897.     [TEAM_SWATSNIPER] = true,
  898.     [TEAM_SWAT] = true,
  899.     [TEAM_LUI] = true,
  900.     [TEAM_POLICE] = true,
  901. }
  902.  
  903. --[[---------------------------------------------------------------------------
  904. Jobs that are hitmen (enables the hitman menu)
  905. ---------------------------------------------------------------------------]]
  906. DarkRP.addHitmanTeam(TEAM_HITMAN)
  907. DarkRP.addHitmanTeam(TEAM_ASSASSIN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement