Advertisement
Guest User

Jobs1

a guest
Oct 3rd, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.85 KB | None | 0 0
  1. --[[---------------------------------------------------------------------------
  2. DarkRP custom jobs
  3. ---------------------------------------------------------------------------
  4. This file contains your custom jobs.
  5. This file should also contain jobs from DarkRP that you edited.
  6.  
  7. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  8.       Once you've done that, copy and paste the job to this file and edit it.
  9.  
  10. The default jobs can be found here:
  11. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  12.  
  13. For examples and explanation please visit this wiki page:
  14. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  15.  
  16. Add your custom jobs under the following line:
  17. ---------------------------------------------------------------------------]]
  18.  
  19.  
  20. TEAM_501stTROOP = DarkRP.createJob("501st Trooper", {
  21.     color = Color(2, 0, 255, 255),
  22.     model = {"models/501st/trooper/trooper.mdl"},
  23.     description = [[501st Battalion: Offensive specialists]],
  24.     weapons = {"rw_sw_dc15a","clone_card_c1"},
  25.     command = "501trooper",
  26.     max = 15,
  27.     salary = 150,
  28.     admin = 0,
  29.     vote = false,
  30.     hasLicense = false,
  31.     candemote = false,
  32.     category = "501st",
  33. sortOrder = 100
  34.  
  35. })
  36. TEAM_501stCMND = DarkRP.createJob("501st Commander Rex", {
  37.     color = Color(2, 0, 255, 255),
  38.     model = {"models/501st/rex/rex.mdl"},
  39.     description = [[Commander of the 501st Battalion: Offensive specialists]],
  40.     weapons = {"clone_card_c4","rw_sw_dc19","rw_sw_dc15a_o","rw_sw_dual_dc17"},
  41.     command = "501co",
  42.     max = 1,
  43.     salary = 350,
  44.     admin = 0,
  45.     vote = false,
  46.     hasLicense = false,
  47.     candemote = false,
  48.     category = "501st",
  49. sortOrder = 96
  50. })
  51. TEAM_501stexo = DarkRP.createJob("501st Executive Officer", {
  52.     color = Color(2, 0, 255, 255),
  53.     model = {"models/501st/tc/tc.mdl"},
  54.     description = [[Executive Officer of the 501st Battalion: Offensive specialists]],
  55.     weapons = {"clone_card_c4","rw_sw_dc19","rw_sw_dc15a_o"},
  56.     command = "501exo",
  57.     max = 2,
  58.     salary = 300,
  59.     admin = 0,
  60.     vote = false,
  61.     hasLicense = false,
  62.     candemote = false,
  63.     category = "501st",
  64. sortOrder = 97
  65. })
  66. TEAM_501stsarge = DarkRP.createJob("501st Sargeant", {
  67.     color = Color(2, 0, 255, 255),
  68.     model = {"models/501st/jet/jet.mdl"},
  69.     description = [[Sergeant of the 501st Battalion: Offensive specialists]],
  70.     weapons = {"clone_card_c2","rw_sw_dc19","rw_sw_dc15a_o"},
  71.     command = "501sarge",
  72.     max = 10,
  73.     salary = 200,
  74.     admin = 0,
  75.     vote = false,
  76.     hasLicense = false,
  77.     candemote = false,
  78.     category = "501st",
  79. sortOrder = 99
  80. })
  81. TEAM_501stLT = DarkRP.createJob("501st Lieutenant", {
  82.     color = Color(2, 0, 255, 255),
  83.     model = {"models/501st/vanguard/vanguard.mdl"},
  84.     description = [[Lieutenant of the 501st Battalion: Offensive specialists]],
  85.     weapons = {"clone_card_c3","rw_sw_dc19","rw_sw_dc15a_o"},
  86.     command = "501lt",
  87.     max = 5,
  88.     salary = 250,
  89.     admin = 0,
  90.     vote = false,
  91.     hasLicense = false,
  92.     candemote = false,
  93.     category = "501st",
  94. sortOrder = 98
  95. })
  96.  
  97.  
  98. --[[---------------------------------------------------------------------------
  99. Define which team joining players spawn into and what team you change to if demoted
  100. ---------------------------------------------------------------------------]]
  101. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  102. --[[---------------------------------------------------------------------------
  103. Define which teams belong to civil protection
  104. Civil protection can set warrants, make people wanted and do some other police related things
  105. ---------------------------------------------------------------------------]]
  106. GAMEMODE.CivilProtection = {
  107.     [TEAM_POLICE] = true,
  108.     [TEAM_CHIEF] = true,
  109.     [TEAM_MAYOR] = true,
  110. }
  111. --[[---------------------------------------------------------------------------
  112. Jobs that are hitmen (enables the hitman menu)
  113. ---------------------------------------------------------------------------]]
  114. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement