Advertisement
Guest User

jobs.lua

a guest
Aug 25th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.44 KB | None | 0 0
  1. --[[---------------------------------------------------------------------------
  2. DarkRP custom jobs
  3. ---------------------------------------------------------------------------
  4.  
  5. This file contains your custom jobs.
  6. This file should also contain jobs from DarkRP that you edited.
  7.  
  8. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  9.     Once you've done that, copy and paste the job to this file and edit it.
  10.  
  11. The default jobs can be found here:
  12. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  13.  
  14. For examples and explanation please visit this wiki page:
  15. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  16.  
  17.  
  18. Add jobs under the following line:
  19. ---------------------------------------------------------------------------]]
  20. TEAM_DRUG = DarkRP.createJob("Drug Dealer", {
  21.     color = Color(80, 45, 0, 255),
  22.     model = "models/player/aphaztechs.mdl",
  23.     description = [[You're a drug dealer. You sell anonymous drugs. doing /advert
  24.         will be instant demotion]],
  25.     weapons = {},
  26.     command = "drugdealer",
  27.     max = 3,
  28.     salary = 15,
  29.     admin = 0,
  30.     vote = false,
  31.     hasLicense = false,
  32.    
  33. }),
  34.  
  35.  
  36. TEAM_CITIZEN = DarkRP.createJob("Citizen", {
  37.     color = Color(80, 45, 0, 255),
  38.     model = {
  39.    "models/player/Group01/Male_01.mdl",
  40.    "models/player/Group01/Male_02.mdl",
  41.    "models/player/Group01/Male_03.mdl",
  42.    "models/player/Group01/Male_04.mdl",
  43.    "models/player/Group01/Male_05.mdl",
  44.    "models/player/Group01/Female_01.mdl",
  45.    "models/player/Group01/Female_02.mdl",
  46.    "models/player/Group01/Female_03.mdl",
  47.    "models/player/Group01/Female_04.mdl",
  48.    "models/player/Group01/Female_06.mdl",
  49.    },
  50.     description = [[You're a citizen, you're job is to follow all the laws.]],
  51.     weapons = {},
  52.     command = "citizen",
  53.     salary = 15,
  54.     admin = 0,
  55.     vote = false,
  56.     hasLicense = false,
  57. }),
  58.  
  59. TEAM_GANGMEMBER = DarkRP.createJob("Gang Member", {
  60.     color = Color(80, 45, 0, 255),
  61.     model = "",
  62.     description = [[You're a gang member, listen to the mob boss.]],
  63.     weapons = {},
  64.     command = "gang",
  65.     salary = 15,
  66.     admin = 0,
  67.     vote = false,
  68.     hasLicense = false,
  69. }),
  70.  
  71. TEAM_GANGBOSS = DarkRP.createJob("Gang Boss", {
  72.     color = Color(80, 45, 0, 255),
  73.     model = "",
  74.     description = [[You're a gang boss, control your gang.]],
  75.     weapons = {},
  76.     command = "gangboss",
  77.     salary = 15,
  78.     admin = 0,
  79.     vote = false,
  80.     hasLicense = false,
  81.    
  82. }),
  83.  
  84. TEAM_MOBMEMBER = DarkRP.createJob("Mob Member", {
  85.     color = Color(80, 45, 0, 255),
  86.     model = "",
  87.     description = [[You're a mob member, listen to your boss.]],
  88.     weapons = {},
  89.     command = "mob",
  90.     salary = 15,
  91.     admin = 0,
  92.     vote = false,
  93.     hasLicense = false,
  94. }),
  95.  
  96. TEAM_MOBBOSS = DarkRP.createJob("Mob Boss", {
  97.     color = Color(80, 45, 0, 255),
  98.     model = "",
  99.     description = [[You're a mob boss, control your mob.]],
  100.     weapons = {},
  101.     command = "mobbboss",
  102.     salary = 15,
  103.     admin = 0,
  104.     vote = false,
  105.     hasLicense = false,
  106.    
  107. }),
  108.  
  109. TEAM_HOBO = DarkRP.createJob("Hobo", {
  110.     color = Color(80, 45, 0, 255),
  111.     model = "models/player/condemned hobo.mdl",
  112.     description = [[You're a hobo, beg for money!]],
  113.     weapons = {},
  114.     command = "hobo",
  115.     salary = 15,
  116.     admin = 0,
  117.     vote = false,
  118.     hasLicense = false,
  119. }),
  120.  
  121. TEAM_BODYGAURD = DarkRP.createJob("Bodygaurd", {
  122.     color = Color(80, 45, 0, 255),
  123.     model = {
  124.     "models/player/guard_01.mdl",
  125.     "models/player/guard_02.mdl",
  126.     "models/player/guard_03.mdl",
  127.     "models/player/guard_04.mdl",
  128.     "models/player/guard_05.mdl",
  129.     "models/player/guard_06.mdl",
  130.     "models/player/guard_07.mdl",
  131.     "models/player/guard_08.mdl",
  132.     "models/player/guard_09.mdl",
  133. },
  134.     description = [[You're a bodygaurd, go gaurd someone]],
  135.     weapons = {},
  136.     command = "bodygaurd",
  137.     salary = 15,
  138.     admin = 0,
  139.     vote = false,
  140.     hasLicense = false,
  141. }),
  142.  
  143. --Merchant Jobs!
  144.  
  145. TEAM_GUNDEALER = DarkRP.createJob("Gun Dealer", {
  146.         color = Color(80, 45, 0, 255),
  147.        model = "models/player/tevor.mdl",
  148.        description = [[You're a gun dealer, sell guns to immortalens]],
  149.         weapons = {},
  150.         command = "gundealer",
  151.         max = 1,
  152.         salary = 200,
  153.         admin = 0,
  154.         vote = true,
  155.         hasLicense = true,
  156. }),
  157.  
  158. TEAM_BMD = DarkRP.createJob("Black Market Dealer", {
  159.         color = Color(80, 45, 0, 255),
  160.         model = "models/players/vector_cvp.mdl",
  161.         description = [[You're a Black Market dealer, sell black market stuff to immortalens]],
  162.        weapons = {},
  163.        command = "BMD",
  164.        max = 1,
  165.        salary = 200,
  166.        admin = 0,
  167.        vote = true,
  168.        hasLicense = true,
  169. }),
  170.  
  171. TEAM_MEDIC = DarkRP.createJob("Medic", {
  172.         color = Color(80, 45, 0, 255),
  173.        model = {
  174.        "models/player/scrub1a.mdl",
  175.        "models/player/scrub2a.mdl",
  176.        "models/player/scrubfe1a.mdl",
  177.        "models/player/scrubfe2a.mdl",    
  178.    },
  179.        description = [[You're a Medic, heal people!]],
  180.         weapons = {},
  181.         command = "medic",
  182.         max = 1,
  183.         salary = 200,
  184.         admin = 0,
  185.         vote = true,
  186.         hasLicense = true,
  187. }),
  188.  
  189.  
  190. --[[Government Jobs!!!!]]--
  191. TEAM_SWATCHIEF = DarkRP.createJob("S.W.A.T Cheif", {
  192.         color = Color(80, 45, 0, 255),
  193.         model = "models/player/bfh_enforcer.mdl",
  194.         description = [[You're swat chief, command swat!.]],
  195.        weapons = {},
  196.        command = "swatchief",
  197.        max = 1,
  198.        salary = 200,
  199.        admin = 0,
  200.        vote = true,
  201.        hasLicense = true,
  202.        
  203.     }),
  204.  
  205. TEAM_SWAT = DarkRP.createJob("S.W.A.T", {
  206.        color = Color(80, 45, 0, 255),
  207.        model = "models/player/bfh_mechanic.mdl",
  208.        description = [[You're Swat, protect people.]],
  209.         weapons = {},
  210.         command = "swat",
  211.         max = 1,
  212.         salary = 200,
  213.         admin = 0,
  214.         vote = true,
  215.         hasLicense = true,
  216.      }),
  217.  
  218. TEAM_MAYOR = DarkRP.createJob("Mayor", {
  219.         color = Color(80, 45, 0, 255),
  220.         model = "models/player/donald_trump.mdl",
  221.         description = [[You're the mayor, regulate and control your city!]],
  222.        weapons = {},
  223.        command = "mayor",
  224.        max = 1,
  225.        salary = 200,
  226.        admin = 0,
  227.        vote = true,
  228.        hasLicense = true,
  229.     }),
  230.  
  231. TEAM_CP = DarkRP.createJob("Civil Protection", {
  232.        color = Color(80, 45, 0, 255),
  233.        model = {
  234.        "models/player/male_01",
  235.        "models/player/male_02",
  236.        "models/player/male_03",
  237.        "models/player/male_04",
  238.        "models/player/male_05",
  239.        "models/player/male_06",
  240.        "models/player/male_07",
  241.        "models/player/male_08",
  242.        ,
  243. }
  244.        description = [[You're a cop, protect people.]],
  245.         weapons = {},
  246.         command = "cp",
  247.         max = 1,
  248.         salary = 200,
  249.         admin = 0,
  250.         vote = true,
  251.         hasLicense = true,
  252.      }),
  253.  
  254. TEAM_CPCHIEF = DarkRP.createJob("CP Chief", {
  255.         color = Color(80, 45, 0, 255),
  256.         model = "nypdmale_03.mdl",
  257.         description = [[You're CP Chief, control all Cops!.]],
  258.        weapons = {},
  259.        command = "cpchief",
  260.        max = 1,
  261.        salary = 200,
  262.        admin = 0,
  263.        vote = true,
  264.        hasLicense = true,
  265.     }),
  266.  
  267.  
  268.  
  269. --[[---------------------------------------------------------------------------
  270. Define which team joining players spawn into and what team you change to if demoted
  271. ---------------------------------------------------------------------------]]
  272. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  273.  
  274.  
  275. --[[---------------------------------------------------------------------------
  276. Define which teams belong to civil protection
  277. Civil protection can set warrants, make people wanted and do some other police related things
  278. ---------------------------------------------------------------------------]]
  279. GAMEMODE.CivilProtection = {
  280.     [TEAM_SWAT] = true,
  281.     [TEAM_CPCHIEF] = true,
  282.     [TEAM_MAYOR] = true,
  283.     [TEAM_CP] = true,
  284.     [TEAM_SWATCHIEF] = true,
  285. }
  286.  
  287. --[[---------------------------------------------------------------------------
  288. Jobs that are hitmen (enables the hitman menu)
  289. ---------------------------------------------------------------------------]]
  290. DarkRP.addHitmanTeam(TEAM_MOB)
  291.  
  292. TEAM_HITMAN = DarkRP.createJob("Hitman", {
  293.        color = Color(80, 45, 0, 255),
  294.        model = "models/player/archer.mdl",
  295.        description = [[You're a hitman, kill people.]],
  296.         weapons = {},
  297.         command = "hitman",
  298.         max = 1,
  299.         salary = 200,
  300.         admin = 0,
  301.         vote = false,
  302.         hasLicense = false,
  303.      }),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement