Advertisement
Guest User

Untitled

a guest
May 1st, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.32 KB | None | 0 0
  1. --++++++++/* Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  2. -- Once you've done that, copy and paste the job to this file and edit it.
  3. --
  4. --The default jobs can be found here:
  5. --https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  6. --
  7. --For examples and explanation please visit this wiki page:
  8. --http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  9. --
  10. --Add jobs under the following line:
  11. -----------------------------------------------------------------------------
  12. TEAM_DARTHVADER = DarkRP.createJob("Darth Vader", {
  13. color = Color(102, 97, 97, 255),
  14. model = "models/player/b4p/b4p_vader.mdl",
  15. description = [[You serve you supreme leader, Krayt, under the sith.]],
  16. weapons = {"weapon_lightsaber"},
  17. command = "darthvader",
  18. max = 1,
  19. salary = 10,
  20. admin = 0,
  21. vote = false,
  22. hasLicense = false,
  23. candemote = false,
  24. category = "Sith",
  25. customCheck = function(ply) return CLIENT or PlychangeAllowed(ply,"Darth Vader") end,
  26. CustomCheckFailMsg = "You are not in the Whitelist!",
  27. })
  28.  
  29. TEAM_COUNTDOOKU = DarkRP.createJob("Count Dooku", {
  30. color = Color(102, 97, 97, 255),
  31. model = "models/player/b4p/b4p_vader.mdl",
  32. description = [[You serve you supreme leader, Krayt, under the sith.]],
  33. weapons = {"weapon_lightsaber"},
  34. command = "countdooku",
  35. max = 1,
  36. salary = 10,
  37. admin = 0,
  38. vote = false,
  39. hasLicense = false,
  40. candemote = false,
  41. category = "Sith",
  42. customCheck = function(ply) return CLIENT or PlychangeAllowed(ply,"Count Dooku") end,
  43. CustomCheckFailMsg = "You are not in the Whitelist!",
  44. })
  45.  
  46. TEAM_DARTHSIDEOUS = DarkRP.createJob("Darth Sideous", {
  47. color = Color(102, 97, 97, 255),
  48. model = "models/player/emperor_palpatine.mdl",
  49. description = [[You serve you supreme leader, Krayt, under the sith.]],
  50. weapons = {"weapon_lightsaber"},
  51. command = "darthsideous",
  52. max = 1,
  53. salary = 10,
  54. admin = 0,
  55. vote = false,
  56. hasLicense = false,
  57. candemote = false,
  58. category = "Sith",
  59. customCheck = function(ply) return CLIENT or PlychangeAllowed(ply,"Darth Sidous") end,
  60. CustomCheckFailMsg = "You are not in the Whitelist!",
  61. })
  62.  
  63. TEAM_DARTHMAUL = DarkRP.createJob("Darth Maul", {
  64. color = Color(102, 97, 97, 255),
  65. model = "models/player/darth/maul.mdl",
  66. description = [[You serve you supreme leader, Krayt, under the sith.]],
  67. weapons = {"weapon_lightsaber"},
  68. command = "darthmaul",
  69. max = 1,
  70. salary = 10,
  71. admin = 0,
  72. vote = false,
  73. hasLicense = false,
  74. candemote = false,
  75. category = "Sith",
  76. customCheck = function(ply) return CLIENT or PlychangeAllowed(ply,"Darth Maul") end,
  77. CustomCheckFailMsg = "You are not in the Whitelist!",
  78. })
  79.  
  80. TEAM_GENERALGRIEVOUS = DarkRP.createJob("General Grievous", {
  81. color = Color(102, 97, 97, 255),
  82. model = "models/player/darth/maul.mdl",
  83. description = [[You serve you supreme leader, Krayt, under the sith.]],
  84. weapons = {"weapon_lightsaber"},
  85. command = "generalgrievous",
  86. max = 1,
  87. salary = 10,
  88. admin = 0,
  89. vote = false,
  90. hasLicense = false,
  91. candemote = false,
  92. category = "Sith",
  93. customCheck = function(ply) return CLIENT or PlychangeAllowed(ply,"General Grievous") end,
  94. CustomCheckFailMsg = "You are not in the Whitelist!",
  95. })
  96. TEAM_SITHACOLYTE = DarkRP.createJob("Sith Acolyte", {
  97. color = Color(102, 97, 97, 255),
  98. model = "models/nate159/req/swtfu/sith_acolyte.md",
  99. description = [[You serve you supreme leader, Krayt, under the sith.]],
  100. weapons = {"weapon_lightsaber"},
  101. command = "sithacolyte",
  102. max = 5,
  103. salary = 10,
  104. admin = 0,
  105. vote = false,
  106. hasLicense = false,
  107. candemote = false,
  108. category = "Sith",
  109. customCheck = function(ply) return CLIENT or PlychangeAllowed(ply,"Sith Acolyte") end,
  110. CustomCheckFailMsg = "You are not in the Whitelist!",
  111. })
  112.  
  113. TEAM_DROID = DarkRP.createJob("Droid", {
  114. color = Color(219, 0, 255, 255),
  115. model = "models/player/sgg/starwars/battledroid.mdl",
  116. description = [[You server under General Grievous]],
  117. weapons = {"weapon_752_dc15a"},
  118. command = "droid",
  119. max = 10,
  120. salary = 10,
  121. admin = 0,
  122. vote = false,
  123. hasLicense = false,
  124. candemote = false,
  125. category = "Sith",
  126. customCheck = function(ply) return CLIENT or PlychangeAllowed(ply,"Droid") end,
  127. CustomCheckFailMsg = "You are not in the Whitelist!",
  128. })
  129.  
  130.  
  131.  
  132. --[[---------------------------------------------------------------------------
  133. Define which team joining players spawn into and what team you change to if demoted
  134. ---------------------------------------------------------------------------]]
  135. GAMEMODE.DefaultTeam = TEAM_CLONECADET
  136. --[[---------------------------------------------------------------------------
  137. Define which teams belong to civil protection
  138. Civil protection can set warrants, make people wanted and do some other police related things
  139. ---------------------------------------------------------------------------]]
  140. GAMEMODE.CivilProtection = {
  141. [TEAM_POLICE] = true,
  142. [TEAM_CHIEF] = true,
  143. [TEAM_MAYOR] = true,
  144. }
  145. --[[---------------------------------------------------------------------------
  146. Jobs that are hitmen (enables the hitman menu)
  147. ---------------------------------------------------------------------------]]
  148. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement