Advertisement
coulterminer

Jobs.lua

Dec 7th, 2019
433
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.08 KB | None | 0 0
  1. ---------------------------------------------------------------------------]]
  2. TEAM_MOD = DarkRP.createJob("Moderator on Duty", {
  3. color = Color(255, 0, 0, 255),
  4. model = "models/player/combine_soldier_prisonguard.mdl",    
  5. description = [[You are a moderator on duty, You moderate!]],    
  6. weapons = {"lockpick"},
  7. command = "mod",    
  8. max = 8,  
  9. salary = 250000,
  10. admin = 0,
  11. vote = false,
  12. hasLicense = false,
  13. customCheck = function(ply) return ply:GetUserGroup() == "mod" or ply:IsAdmin() end,
  14. CustomCheckFailMsg = "This job is for Moderators only!"
  15. })
  16. TEAM_COP = DarkRP.createJob("Police Officer", {
  17.     color = Color(0, 27, 255, 255),
  18.     model = {"models/player/santosrp/male_04_santosrp.mdl"},
  19.     description = [[You are a cop. You protect the city and bust criminals.]],
  20.     weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"},
  21.     command = "cop",
  22.     max = 4,
  23.     salary = 250,
  24.     admin = 0,
  25.     vote = true,
  26.     hasLicense = true,
  27.     candemote = true,
  28.     category = "Goverment",
  29.     PlayerSpawn = function(ply)
  30.         ply:SetMaxHealth(100)
  31.         ply:SetHealth(100)
  32.         ply:SetArmor(100)
  33.     end
  34. })
  35. --[[
  36.     Generated using: DarkRP | Job Generator
  37.     https://csite.io/tools/gmod-darkrp-job
  38. --]]
  39. TEAM_PDC = DarkRP.createJob("Police Chief", {
  40.     color = Color(0, 10, 255, 255),
  41.     model = {"models/player/santosrp/male_02_santosrp.mdl"},
  42.     description = [[You are the leader of the police]],
  43.     weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"},
  44.     command = "Policechieftrue",
  45.     max = 1,
  46.     salary = 1000,
  47.     admin = 0,
  48.     vote = true,
  49.     hasLicense = true,
  50.     candemote = true,
  51.     category = "Goverment",
  52.     chief = true,
  53.     PlayerSpawn = function(ply)
  54.         ply:SetMaxHealth(100)
  55.         ply:SetHealth(100)
  56.         ply:SetArmor(99)
  57.     end,
  58.     PlayerDeath = function(ply, weapon, killer)
  59.         ply:teamBan()
  60.         ply:changeTeam(GAMEMODE.DefaultTeam, true)
  61.         DarkRP.notifyAll(0, 4, "The chief of police has been found dead, the job is open")
  62.     end
  63. })
  64. --[[
  65.     Generated using: DarkRP | Job Generator
  66.     https://csite.io/tools/gmod-darkrp-job
  67. --]]
  68. TEAM_PRES = DarkRP.createJob("President", {
  69.     color = Color(255, 184, 0, 255),
  70.     model = {"models/player/donald_trump.mdl"},
  71.     description = [[You are the president of the united states, you WILL veto health care and happiness]],
  72.     weapons = {},
  73.     command = "leader",
  74.     max = 1,
  75.     salary = 2500,
  76.     admin = 0,
  77.     vote = true,
  78.     hasLicense = true,
  79.     candemote = true,
  80.     category = "Goverment",
  81.     mayor = true,
  82.     PlayerSpawn = function(ply)
  83.         ply:SetMaxHealth(100)
  84.         ply:SetHealth(100)
  85.         ply:SetArmor(0)
  86.     end,
  87.     PlayerDeath = function(ply, weapon, killer)
  88.         ply:teamBan()
  89.         ply:changeTeam(GAMEMODE.DefaultTeam, true)
  90.         DarkRP.notifyAll(0, 4, "The President was found dead, the nation is in complete udder caos. The job is open")
  91.     end
  92. })
  93. --[[
  94.     Generated using: DarkRP | Job Generator
  95.     https://csite.io/tools/gmod-darkrp-job
  96. --]]
  97. TEAM_THIEF = DarkRP.createJob("Thief", {
  98.     color = Color(138, 1, 1, 255),
  99.     model = {"models/player/arctic.mdl"},
  100.     description = [[CAN RAID: YES
  101. MUG: YES
  102. KIDNAP: NO]],
  103.     weapons = {"lockpick", "prokeypadcracker"},
  104.     command = "thief",
  105.     max = 5,
  106.     salary = 65,
  107.     admin = 0,
  108.     vote = false,
  109.     hasLicense = false,
  110.     candemote = true,
  111.     category = "Criminals"
  112. })
  113. --[[
  114.     Generated using: DarkRP | Job Generator
  115.     https://csite.io/tools/gmod-darkrp-job
  116. --]]
  117. TEAM_HITMAN = DarkRP.createJob("Hitman", {
  118.     color = Color(0, 222, 36, 255),
  119.     model = {"models/player/leet.mdl"},
  120.     description = [[You kill for a living
  121. CAN KIDNAP: YES
  122. CAN MUG: NO
  123. CAN RAID: YES BUT ONLY YOUR VICTIMS HOUSE(Can not steal valuables)]],
  124.     weapons = {"weapon_p2282"},
  125.     command = "Hit",
  126.     max = 2,
  127.     salary = 250,
  128.     admin = 0,
  129.     vote = false,
  130.     hasLicense = false,
  131.     candemote = true,
  132.     category = "Criminals"
  133. })
  134. --[[
  135.     Generated using: DarkRP | Job Generator
  136.     https://csite.io/tools/gmod-darkrp-job
  137. --]]
  138. TEAM_SPONGE = DarkRP.createJob("SPONGEMAN ICECONE", {
  139.     color = ,
  140.     model = {"models/players/sb/spongebob_plyr.mdl"},
  141.     description = [[]],
  142.     weapons = {},
  143.     command = "",
  144.     max = 1,
  145.     salary = 65,
  146.     admin = 0,
  147.     vote = false,
  148.     hasLicense = false,
  149.     candemote = false,
  150.     category = "VIP",
  151.     customCheck = function(ply) return
  152.         table.HasValue({"VIP"}, ply:GetNWString("usergroup"))
  153.     end,
  154.     CustomCheckFailMsg = "This job is for VIP only. You can donate on tubex",
  155. })
  156. --[[
  157.     Generated using: DarkRP | Job Generator
  158.     https://csite.io/tools/gmod-darkrp-job
  159. --]]
  160. TEAM_WOA = DarkRP.createJob("Weapons Obsessed American", {
  161.     color = Color(82, 10, 10, 255),
  162.     model = {"models/player/Group01/male_07.mdl"},
  163.     description = [[To you, weapons are the holy grail of this planet. ]],
  164.     weapons = {"weapon_m42", "ls_sniper", "weapon_mac102", "weapon_pumpshotgun2"},
  165.     command = "obsessed",
  166.     max = 2,
  167.     salary = 100,
  168.     admin = 0,
  169.     vote = false,
  170.     hasLicense = false,
  171.     candemote = false,
  172.     category = "VIP",
  173.     customCheck = function(ply) return CLIENT or
  174.         table.HasValue({"VIP"}, ply:GetNWString("usergroup"))
  175.     end,
  176.     CustomCheckFailMsg = "This job is for VIP only. You can donate on tubex",
  177. })
  178. --[[
  179.     Generated using: DarkRP | Job Generator
  180.     https://csite.io/tools/gmod-darkrp-job
  181. --]]
  182. TEAM_MEGAVAPE = DarkRP.createJob("Mega Vaper", {
  183.     color = Color(0, 232, 7, 255),
  184.     model = {"models/player/Group01/male_07.mdl"},
  185.     description = [[vapes tastes good]],
  186.     weapons = {"weapon_vape_butterfly", "weapon_vape", "weapon_vape_mega"},
  187.     command = "yeet",
  188.     max = 2,
  189.     salary = 100,
  190.     admin = 0,
  191.     vote = false,
  192.     hasLicense = false,
  193.     candemote = false,
  194.     category = "VIP",
  195.     customCheck = function(ply) return CLIENT or
  196.         table.HasValue({"VIP"}, ply:GetNWString("usergroup"))
  197.     end,
  198.     CustomCheckFailMsg = "This job is for VIP only. You can donate on tubex",
  199. })
  200. --[[---------------------------------------------------------------------------
  201. Define which team joining players spawn into and what team you change to if demoted
  202. ---------------------------------------------------------------------------]]
  203. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  204. --[[---------------------------------------------------------------------------
  205. Define which teams belong to civil protection
  206. Civil protection can set warrants, make people wanted and do some other police related things
  207. ---------------------------------------------------------------------------]]
  208. GAMEMODE.Civil_Protection = {
  209.     [TEAM_PREZ] = true,
  210.     [TEAM_PDC] = true,
  211.     [TEAM_COP] = true  
  212. }
  213. --[[---------------------------------------------------------------------------
  214. Jobs that are hitmen (enables the hitman menu)
  215. ---------------------------------------------------------------------------]]
  216. GAMEMODE.HITMAN = {
  217.     [TEAM_HIT] = true,
  218. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement