Advertisement
Guest User

tropix

a guest
Aug 9th, 2016
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 19.59 KB | None | 0 0
  1.  
  2. --[[---------------------------------------------------------------------------
  3. DarkRP custom jobs
  4. ---------------------------------------------------------------------------
  5.  
  6. This file contains your custom jobs.
  7. This file should also contain jobs from DarkRP that you edited.
  8.  
  9. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  10. Once you've done that, copy and paste the job to this file and edit it.
  11.  
  12. The default jobs can be found here:
  13. https://github.com/FPtje/DarkRP/blob...jobrelated.lua
  14.  
  15. For examples and explanation please visit this wiki page:
  16. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  17.  
  18.  
  19. Add jobs under the following line:
  20. ---------------------------------------------------------------------------]]
  21.  
  22. ------------ STAFF TEAMS --------------
  23.  
  24. TEAM_SADMIN = DarkRP.createJob("S-Admin On Duty", {
  25.     color = Color(170, 0, 0, 255),
  26.     model = {"models/player/combine_super_soldier.mdl" },
  27.     description = [[Being a super admin requires a great responsibility, when you become this job you have to take
  28.     your job as an admin serious, and help the ones who is in need of a superadmin.]],
  29.     weapons = {"arrest_stick", "unarrest_stick"},
  30.     command = "sadminonduty",
  31.     max = 0,
  32.     salary = 100,
  33.     admin = 2,
  34.     vote = false,
  35.     hasLicense = false,
  36.     customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("owner") end,
  37.     CustomCheckFailMsg = "This job is for Staff only!",
  38.     PlayerSpawn = function(ply) ply:GodEnable() end
  39. })
  40.  
  41. TEAM_ADMIN = DarkRP.createJob("Admin On Duty", {
  42.     color = Color(255, 0, 0, 255),
  43.     model = {"models/player/anon/anon.mdl",},
  44.     description = [[You are the Guy that keeps saving the day, just DONT Fuck up the Rules.]],
  45.     weapons = {"arrest_stick", "unarrest_stick", "stunstick", "door_ram", "weaponchecker", "lockpick"},
  46.     command = "staff",
  47.     max = 4,
  48.     salary = GAMEMODE.Config.normalsalary * 1.45,
  49.     admin = 1,
  50.     vote = false,
  51.     category = "Staff",
  52.     hasLicense = true
  53.     customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") end,
  54.     CustomCheckFailMsg = "This job is for Staff only!",
  55.     PlayerSpawn = function(ply) ply:GodEnable() end
  56. })
  57.  
  58. TEAM_MOD = DarkRP.createJob("Mod On Duty", {
  59.     color = Color(170, 0, 0, 255),
  60.     model = {"models/player/combine_soldier_prisonguard.mdl"},
  61.     description = [[Being a mod requires a great responsibility, when you become this job you have to take
  62.     your job as a mod serious, and help the ones who is in need of a mod.]],
  63.     weapons = {"arrest_stick", "unarrest_stick"},
  64.     command = "modonduty",
  65.     max = 0,
  66.     salary = 100,
  67.     admin = 0,
  68.     vote = false,
  69.     hasLicense = false,
  70.     customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("moderator+") or ply:IsUserGroup("moderator+") end,
  71.     CustomCheckFailMsg = "This job is for Staff only!",
  72.     PlayerSpawn = function(ply) ply:GodEnable() end
  73. })
  74.  
  75. ------------- SWAT TEAMS ---------------
  76.  
  77. TEAM_SWAT = DarkRP.createJob("S.W.A.T", {
  78.     color = Color(80, 45, 0, 255),
  79.     model = {"models/player/swat.mdl"},
  80.     description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city.]],
  81.     weapons = {"arrest_stick", "unarrest_stick", "m9k_m29satan", "m9k_mp5", "stunstick", "door_ram", "weaponchecker"},
  82.     command = "swat",
  83.     max = 2,
  84.     salary = 120,
  85.     admin = 0,
  86.     vote = true,
  87.     hasLicense = true
  88. })
  89.  
  90. TEAM_SWATSNIPER = DarkRP.createJob("S.W.A.T Sniper", {
  91.     color = Color(30, 45, 105, 255),
  92.     model = {"models/player/riot.mdl"},
  93.     description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city. You are a Sniper Specialist]],
  94.     weapons = {"arrest_stick", "unarrest_stick", "m9k_m29satan", "m9k_aw50", "m9k_mp5", "stunstick", "door_ram", "weaponchecker"},
  95.     command = "swatsniper",
  96.     max = 1,
  97.     salary = 125,
  98.     admin = 0,
  99.     vote = true,
  100.     hasLicense = true
  101. })
  102.  
  103. TEAM_SWATLEADER = DarkRP.createJob("S.W.A.T Leader", {
  104.     color = Color(30, 45, 105, 255),
  105.     model = {"models/player/swat.mdl"},
  106.     description = [[ Do everything you can to keep the city safe.
  107.     If theres no mayor, you're in charge.]],
  108.     weapons = {"arrest_stick", "unarrest_stick", "m9k_deagle", "m9k_ak47", "door_ram", },
  109.     command = "swatl",
  110.     max = 1,
  111.     salary = 210,
  112.     admin = 0,
  113.     vote = true,
  114.     hasLicense = true
  115. })
  116.  
  117. TEAM_SWATMEDIC = DarkRP.createJob("S.W.A.T Medic", {
  118.     color = Color(30, 45, 105, 255),
  119.     model = {"models/player/riot.mdl"},
  120.     description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city. You are the medic in the group, you should provide medical help to your team]],
  121.     weapons = {"arrest_stick", "m9k_ak47", "stunstick", "door_ram", "weaponchecker", "med_kit"},
  122.     command = "swatsniper",
  123.     max = 1,
  124.     salary = 125,
  125.     admin = 0,
  126.     vote = true,
  127.     hasLicense = true
  128. })
  129.  
  130. TEAM_SWATCOMMANDER = DarkRP.createJob("S.W.A.T Commander", {
  131.     color = Color(30, 45, 105, 255),
  132.     model = {"models/player/riot.mdl"},
  133.     description = [[You are a S.W.A.T, Your job is to handle the bigger crimes in the city. You are The commander of the S.W.A.T team]],
  134.     weapons = {"arrest_stick", "unarrest_stick", "m9k_deagle", "m9k_m24", "m9k_an94", "stunstick", "door_ram", "weaponchecker", "m9k_m3"},
  135.     command = "swatsniper",
  136.     max = 1,
  137.     salary = 125,
  138.     admin = 0,
  139.     vote = true,
  140.     hasLicense = true,
  141.     customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
  142.     CustomCheckFailMsg = "This job is for Donators/Staff only!"
  143. })
  144.  
  145. ---------- END OF SWAT TEAMS -----------
  146.  
  147. ------ START OF HITMAN SHIT -----------
  148.  
  149. TEAM_HITMAN = DarkRP.createJob("Hitman", {
  150.     color = Color(0, 0, 0, 255),
  151.     model = {"models/player/phoenix.mdl"},
  152.     description = [[People hire you to send people to a looong vacation.]],
  153.     weapons = {"m9k_coltpython", "m9k_aw50"},
  154.     command = "hitman",
  155.     max = 1,
  156.     salary = 65,
  157.     admin = 0,
  158.     vote = false,
  159.     hasLicense = false
  160. })
  161.  
  162. TEAM_PHITMAN = DarkRP.createJob("Professional Hitman", {
  163.     color = Color(0, 0, 0, 255),
  164.     model = {"models/player/phoenix.mdl"},
  165.     description = [[People hire you to send people to a looong vacation. You are better then the average Hitmans in the town. You have a bigger salary.]],
  166.     weapons = {"m9k_m92beretta", "m9k_psg1"},
  167.     command = "professionalhitman",
  168.     max = 1,
  169.     salary = 95,
  170.     admin = 0,
  171.     vote = false,
  172.     hasLicense = false,
  173.     customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
  174.     CustomCheckFailMsg = "This job is for Donators/Staff only!"
  175. })
  176.  
  177. ---- END OF HITMAN STUFF ----
  178.  
  179. ---- START OF MAYOR STUFF -----
  180.  
  181. TEAM_MS = DarkRP.createJob("Mayors Son", {
  182.     color = Color(255,100,100,255),
  183.     model = {"models/player/barney.mdl"},
  184.     description = [[You are the mayors son, Walk around and relax with your father, but be
  185.     careful. People might kidnap you for exchange of cash!]],
  186.     weapons = {},
  187.     command = "mayorsson",
  188.     max = 1,
  189.     salary = 90,
  190.     admin = 0,
  191.     vote = false,
  192.     hasLicense = false
  193. })
  194.  
  195. TEAM_MD = DarkRP.createJob("Mayors Daughter", {
  196.     color = Color(255,100,100,255),
  197.     model = {"models/player/alyx.mdl"},
  198.     description = [[You are the mayors daughter, Walk around and relax with your father, but be
  199.     careful. People might kidnap you for exchange of cash!]],
  200.     weapons = {},
  201.     command = "mayorsdaughter",
  202.     max = 1,
  203.     salary = 90,
  204.     admin = 0,
  205.     vote = false,
  206.     hasLicense = false
  207. })
  208.  
  209. TEAM_MBODYGUARD = DarkRP.createJob("Mayors BodyGuard", {
  210.     color = Color(0,200,50,255),
  211.     model = {"models/player/barney.mdl"},
  212.     description = [[You are the Mayors private Bodyguard. Your job is to cover him
  213.     with your life.]],
  214.     weapons = {"m9k_deagle"},
  215.     command = "mayorsbodyguard",
  216.     max = 2,
  217.     salary = 85,
  218.     admin = 0,
  219.     vote = false,
  220.     hasLicense = true
  221. })
  222.  
  223. ---- END OF MAYOR STUFF -----
  224.  
  225. -- street shit --
  226.  
  227. TEAM_STREETPERF = DarkRP.createJob("Street Performer", {
  228.     color = Color(23, 0, 52, 255),
  229.     model = {"models/player/arctic.mdl"},
  230.     description = [[Use your talents on the street to earn money, Sing, Dance or maybe
  231.     Tell a good joke!]],
  232.     weapons = {},
  233.     command = "streetperformer",
  234.     max = 2,
  235.     salary = 20,
  236.     admin = 0,
  237.     vote = false,
  238.     hasLicense = false,
  239.     customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
  240.     CustomCheckFailMsg = "This job is for Donators/Staff only!"
  241. })
  242.  
  243. -- end of street shit --
  244.  
  245. -- drug dealers ---
  246.  
  247. TEAM_DRUGDEALER = DarkRP.createJob("Drug Dealer", {
  248.     color = Color(51, 204, 255, 255),
  249.     model = {"models/player/soldier_stripped.mdl"},
  250.     description = [[You sell drugs to the public, stay away from the police.]],
  251.     weapons = {},
  252.     command = "drugdealer",
  253.     max = 3,
  254.     salary = 40,
  255.     admin = 0,
  256.     vote = false,
  257.     hasLicense = true
  258. })
  259.  
  260. TEAM_DRUGDEALERB = DarkRP.createJob("Drug Dealer Boss", {
  261.     color = Color(51, 204, 255, 255),
  262.     model = {"models/player/soldier_stripped.mdl"},
  263.     description = [[You sell drugs to the public, You gather every Drug Dealer in town and give them different places to sell their drugs at. You can also sell drugs]],
  264.     weapons = {},
  265.     command = "drugdealerboss",
  266.     max = 1,
  267.     salary = 40,
  268.     admin = 0,
  269.     vote = false,
  270.     hasLicense = true
  271. })
  272.  
  273. -- end of drugs --
  274.  
  275. -- thiefs --
  276.  
  277. TEAM_THIEF = DarkRP.createJob("Thief", {
  278.     color = Color(0, 0, 0, 255),
  279.     model = {"models/player/arctic.mdl"},
  280.     description = [[You are a thief, rob people, break into houses and steal printers]],
  281.     weapons = {"lockpick"},
  282.     command = "thief",
  283.     max = 2,
  284.     salary = 65,
  285.     admin = 0,
  286.     vote = false,
  287.     hasLicense = false
  288. })
  289.  
  290. TEAM_THIEFL = DarkRP.createJob("Thief Leader", {
  291.     color = Color(0, 0, 0, 255),
  292.     model = {"models/player/arctic.mdl"},
  293.     description = [[You are a thief leader, rob people, break into houses and steal printers.
  294.     You lead the other Thiefs]],
  295.     weapons = {"lockpick"},
  296.     command = "thiefleader",
  297.     max = 1,
  298.     salary = 75,
  299.     admin = 0,
  300.     vote = false,
  301.     hasLicense = false
  302. })
  303.  
  304. TEAM_THIEFS = DarkRP.createJob("Thief Specialist", {
  305.     color = Color(0, 0, 0, 255),
  306.     model = {"models/player/arctic.mdl"},
  307.     description = [[You are a Specialist among the thiefs, rob people, break into houses and steal printers.
  308.     Show the other thiefs how it's done!]],
  309.     weapons = {"pro_lockpick_update", "pro_lockpick"},
  310.     command = "thiefspecialist",
  311.     max = 1,
  312.     salary = 105,
  313.     admin = 0,
  314.     vote = false,
  315.     hasLicense = false,
  316.     customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
  317.     CustomCheckFailMsg = "This job is for Donators/Staff only!"
  318. })
  319. -- end of thiefs--
  320.  
  321. -- rebels --
  322.  
  323. TEAM_REBEL = DarkRP.createJob("Rebel", {
  324.     color = Color(0, 0, 0, 255),
  325.     model = {
  326.         "models/player/Group03/Female_01.mdl",
  327.         "models/player/Group03/Female_02.mdl",
  328.         "models/player/Group03/Female_03.mdl",
  329.         "models/player/Group03/Female_04.mdl",
  330.         "models/player/Group03/Female_06.mdl",
  331.         "models/player/group03/male_01.mdl",
  332.         "models/player/Group03/Male_02.mdl",
  333.         "models/player/Group03/male_03.mdl",
  334.         "models/player/Group03/Male_04.mdl",
  335.         "models/player/Group03/Male_05.mdl",
  336.         "models/player/Group03/Male_06.mdl",
  337.         "models/player/Group03/Male_07.mdl",
  338.         "models/player/Group03/Male_08.mdl",
  339.         "models/player/Group03/Male_09.mdl"
  340.     },
  341.     description = [[You are a rebel, follow your leader, and raid the Police Department!]],
  342.     weapons = {"lockpick", "keypad_cracker"},
  343.     command = "rebel",
  344.     max = 3,
  345.     salary = 45,
  346.     admin = 0,
  347.     vote = false,
  348.     hasLicense = false
  349. })
  350.  
  351. TEAM_REBELLEA = DarkRP.createJob("Rebel Leader", {
  352.     color = Color(0, 0, 0, 255),
  353.     model = {
  354.         "models/player/Group03/Female_01.mdl",
  355.         "models/player/Group03/Female_02.mdl",
  356.         "models/player/Group03/Female_03.mdl",
  357.         "models/player/Group03/Female_04.mdl",
  358.         "models/player/Group03/Female_06.mdl",
  359.         "models/player/group03/male_01.mdl",
  360.         "models/player/Group03/Male_02.mdl",
  361.         "models/player/Group03/male_03.mdl",
  362.         "models/player/Group03/Male_04.mdl",
  363.         "models/player/Group03/Male_05.mdl",
  364.         "models/player/Group03/Male_06.mdl",
  365.         "models/player/Group03/Male_07.mdl",
  366.         "models/player/Group03/Male_08.mdl",
  367.         "models/player/Group03/Male_09.mdl"
  368.     },
  369.     description = [[You are a Rebel Leader. Lead the other rebels on a war against PD]],
  370.     weapons = {"lockpick", "keypad_cracker"},
  371.     command = "rebelleader",
  372.     max = 1,
  373.     salary = 70,
  374.     admin = 0,
  375.     vote = false,
  376.     hasLicense = false
  377. })
  378.  
  379. -- end of rebels --
  380.  
  381. -- music --
  382.  
  383. TEAM_PIANIST = DarkRP.createJob("Pianist", {
  384.     color = Color(80, 5, 255, 0),
  385.     model = {"models/player/hostage/hostage_02.mdl"},
  386.     description = [[You play music using a piano. People can pay you to play on their events]],
  387.     weapons = {},
  388.     command = "pianist",
  389.     max = 1,
  390.     salary = 20,
  391.     admin = 0,
  392.     vote = false,
  393.     hasLicense = true,
  394.     customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
  395.     CustomCheckFailMsg = "This job is for Donators/Staff only!"
  396. })
  397.  
  398. -- end of music--
  399.  
  400. -- fbi --
  401.  
  402. TEAM_FBI = DarkRP.createJob("F.B.I", {
  403.     color = Color(23, 0, 52, 255),
  404.     model = {"models/player/barney.mdl"},
  405.     description = [[You work for the F.B.I, Your job is to investigate crimes and track down the suspect
  406.     You can ask the S.W.A.T for help during raids on the suspects]],
  407.     weapons = {"arrest_stick", "unarrest_stick", "m9k_ak47", "m9k_deagle", "stunstick", "door_ram", "weaponchecker"},
  408.     command = "fbi",
  409.     max = 2,
  410.     salary = 120,
  411.     admin = 0,
  412.     vote = true,
  413.     hasLicense = true
  414. })
  415.  
  416. TEAM_FBISN = DarkRP.createJob("F.B.I Sniper", {
  417.     color = Color(23, 0, 52, 255),
  418.     model = {"models/player/barney.mdl"},
  419.     description = [[You work for the F.B.I, Your job is to investigate crimes and track down the suspect. You have a sniper, which will help you to take down suspects that use violence against the police, and/or kill someone in the Police Squad.
  420.     You can ask the S.W.A.T for help during raids on the suspects]],
  421.     weapons = {"arrest_stick", "unarrest_stick", "m9k_m98b", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "ls_sniper"},
  422.     command = "fbisniper",
  423.     max = 1,
  424.     salary = 115,
  425.     admin = 0,
  426.     vote = true,
  427.     hasLicense = true
  428. })
  429.  
  430. TEAM_FBIL = DarkRP.createJob("F.B.I Leader", {
  431.     color = Color(23, 0, 52, 255),
  432.     model = {"models/player/barney.mdl"},
  433.     description = [[You Lead the F.B.I, Your job is to investigate crimes and track down the suspect
  434.     You can ask the S.W.A.T for help during raids on the suspects]],
  435.     weapons = {"arrest_stick", "unarrest_stick", "m9k_glock", "m9k_kac_pdw", "m9k_m24" "stunstick", "door_ram", "weaponchecker"},
  436.     command = "fbileader",
  437.     max = 1,
  438.     salary = 125,
  439.     admin = 0,
  440.     vote = true,
  441.     hasLicense = true,
  442.     customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
  443.     CustomCheckFailMsg = "This job is for Donators/Staff only!"
  444. })
  445.  
  446. -- end of fbi --
  447.  
  448. -- gundealers --
  449.  
  450. TEAM_HEGUNDEALER = DarkRP.createJob("Heavy Gun Dealer", {
  451.     color = Color(80, 45, 0, 255),
  452.     model = {"models/player/monk.mdl"},
  453.     description = [[Your job is to sell bigger guns to the people.]],
  454.     weapons = {"weapon_glock2", "weaponchecker"},
  455.     command = "heavygundealer",
  456.     max = 1,
  457.     salary = 80,
  458.     admin = 0,
  459.     vote = false,
  460.     hasLicense = true
  461. })
  462.  
  463. TEAM_SPGUNDEALER = DarkRP.createJob("Gun Dealer Specialist", {
  464.     color = Color(80, 45, 0, 255),
  465.     model = {"models/player/guerilla.mdl"},
  466.     description = [[Your job is to sell bigger and more professional weapons to the public. They pay you a higher amount of money as your weapons are special from the other gun dealers.]],
  467.     weapons = {"m9k_glock"},
  468.     command = "specialistgundealer",
  469.     max = 1,
  470.     salary = 100,
  471.     admin = 0,
  472.     vote = false,
  473.     hasLicense = true,
  474.     customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
  475.     CustomCheckFailMsg = "This job is for Donators/Staff only!"
  476. })
  477.  
  478. -- end of guns--
  479.  
  480. -- terrorists
  481.  
  482. TEAM_TERRORISTL = DarkRP.createJob("Terrorist Leader", {
  483.     color = Color(80, 45, 0, 255),
  484.     model = {"models/player/guerilla.mdl"},
  485.     description = [[You attack the streets, and the Police Force. You lead the other Terrorists]],
  486.     weapons = {"lockpick", "m9k_ak47", "m9k_proxy_mine" },
  487.     command = "terroristleader",
  488.     max = 1,
  489.     salary = 105,
  490.     admin = 0,
  491.     vote = false,
  492.     hasLicense = false,
  493.     customCheck = function(ply) return ply:IsSuperAdmin() or ply:IsUserGroup("admin") or ply:IsUserGroup("owner") or ply:IsUserGroup("developer") or ply:IsUserGroup("admin+") or ply:IsUserGroup("donator") end,
  494.     CustomCheckFailMsg = "This job is for Donators/Staff only!"
  495. })
  496.  
  497. TEAM_TERRORIST = DarkRP.createJob("Terrorist", {
  498.     color = Color(80, 45, 0, 255),
  499.     model = {"models/player/guerilla.mdl"},
  500.     description = [[You attack the streets, and the Police Force.]],
  501.     weapons = {"lockpick", "m9k_ak47", "m9k_ied_detonator" },
  502.     command = "terrorist",
  503.     max = 2,
  504.     salary = 105,
  505.     admin = 0,
  506.     vote = false,
  507.     hasLicense = false
  508. })
  509.  
  510. -- end of terrorists --
  511.  
  512. -- bodyguards --
  513.  
  514. TEAM_BODYGUARD = DarkRP.createJob("Body Guard", {
  515.     color = Color(0,200,50,255),
  516.     model = {"models/player/barney.mdl"},
  517.     description = [[People pay you an amount of money to guard them on the street, or at home.]],
  518.     weapons = {"weapon_deagle2"},
  519.     command = "bodyguard",
  520.     max = 2,
  521.     salary = 85,
  522.     admin = 0,
  523.     vote = false,
  524.     hasLicense = true
  525. })
  526.  
  527. TEAM_PERGUARD = DarkRP.createJob("Personal Guard", {
  528.     color = Color(0,200,50,255),
  529.     model = {"models/player/barney.mdl"},
  530.     description = [[People pay you an amount of money to guard them on the street, or at home. You become a more personal body guard.]],
  531.     weapons = {"weapon_deagle2"},
  532.     command = "persguard",
  533.     max = 2,
  534.     salary = 85,
  535.     admin = 0,
  536.     vote = false,
  537.     hasLicense = true
  538. })
  539.  
  540. TEAM_GUARD = DarkRP.createJob("Guard", {
  541.     color = Color(0,200,50,255),
  542.     model = {"models/player/barney.mdl"},
  543.     description = [[People pay you an amount of money to guard them on the street, or at home.]],
  544.     weapons = {"weapon_deagle2"},
  545.     command = "guard",
  546.     max = 2,
  547.     salary = 85,
  548.     admin = 0,
  549.     vote = false,
  550.     hasLicense = true
  551. })
  552.  
  553. -- bodyguards --
  554.  
  555.  
  556. --[[---------------------------------------------------------------------------
  557. Define which team joining players spawn into and what team you change to if demoted
  558. ---------------------------------------------------------------------------]]
  559. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  560.  
  561.  
  562. --[[---------------------------------------------------------------------------
  563. Define which teams belong to civil protection
  564. Civil protection can set warrants, make people wanted and do some other police related things
  565. ---------------------------------------------------------------------------]]
  566. GAMEMODE.CivilProtection = {
  567.     [TEAM_POLICE] = true,
  568.     [TEAM_CHIEF] = true,
  569.     [TEAM_MAYOR] = true,
  570.     [TEAM_SWAT] = true,
  571.     [TEAM_SWATSNIPER = true,
  572.     [TEAM_SWATLEADER] = true,
  573.     [TEAM_SWATMEDIC] = true,
  574.     [TEAM_SWATCOMMANDER] = true,
  575.     [TEAM_FBI] = true,
  576.     [TEAM_FBIL] = true,
  577.     [TEAM_FBISN] = true
  578. }
  579.  
  580. --[[---------------------------------------------------------------------------
  581. Jobs that are hitmen (enables the hitman menu)
  582. ---------------------------------------------------------------------------]]
  583. DarkRP.addHitmanTeam(TEAM_HITMAN)
  584. DarkRP.addHitmanTeam(TEAM_PHITMAN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement