acroter

Untitled

Aug 1st, 2014
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.73 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.  
  21. TEAM_NINJA = AddExtraTeam("Ninja", {
  22. color = Color(204, 204, 255, 255),
  23. model = "models/player/lordvipes/rerc_vector/vector_cvp.mdl",
  24. description = [[You are a Swift Ninja, You raid bases and use your agility to get in and out quietly.]],
  25. weapons = {"m9k_knife", "climb_swep2"},
  26. command = "ninja",
  27. max = 3,
  28. salary = 65,
  29. admin = 0,
  30. vote = false,
  31. haslicense = true,
  32. })
  33.  
  34. TEAM_TERRORIST = AddExtraTeam("Terrorist", {
  35. color = Color(153, 204, 0, 255),
  36. model = "models/jessev92/player/misc/osamabl1.mdl",
  37. description = [[You are A Terrorist, You blow up public places to cause as much death as possible.]],
  38. command = "terrorist",
  39. max = 3,
  40. salary = 0,
  41. admin = 0,
  42. vote = false,
  43. haslicense = true,
  44. customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:GetUserGroup() == "donmod" or ply:GetUserGroup() == "dmod" or ply:GetUserGroup() == "donadmin" or ply:GetUserGroup() == "superadmin" or ply:GetUserGroup () == "headadmin" end,
  45. CustomCheckFailMsg = "This job is donator only!",
  46. })
  47.  
  48. TEAM_ASSASSIN = AddExtraTeam("Assassin" , {
  49. color = Color(255, 0, 0, 255),
  50. model = "models/player/guerilla.mdl",
  51. description = [[You are a Hitman. Accept hits and complete them without being seen. Remember you need to be stealthy.]],
  52. weapons = {"m9k_m92beretta"},
  53. command = "assassin",
  54. max = 3,
  55. salary = 25,
  56. admin = 0,
  57. vote = true,
  58. haslicense = false,
  59. })
  60.  
  61.  
  62. TEAM_SWAT = AddExtraTeam("SWAT", {
  63. color = Color(0, 0, 255, 255),
  64. model = "models/player/specnaz/slow_specnaz.mdl",
  65. description = [[ You are the Most Elite of the Police Force. You are used for extreme situations.]],
  66. weapons = {"m9k_acr", "m9k_l85", "m9k_glock", "m9k_mp7", "arrest_stick", "unarrest_stick", "stunstick"},
  67. command = "swat",
  68. max = 3,
  69. salary = 145,
  70. admin = 0,
  71. vote = true,
  72. haslicense = true,
  73. })
  74.  
  75. TEAM_POLICE = AddExtraTeam("Police Officer", {
  76. color = Color(0, 255, 255, 255),
  77. model = "models/player/pmc_1/pmc__01.mdl",
  78. description = [[You are part of the Police Force, You are responsible for protecting The City.]],
  79. weapons = {"m9k_m92beretta", "m9k_mp5", "arrest_stick", "unarrest_stick", "stunstick"},
  80. command = "police",
  81. max = 4,
  82. salary = 45,
  83. admin = 0,
  84. vote = true,
  85. haslicense = true,
  86. })
  87.  
  88. TEAM_GUNDEALER = AddExtraTeam("Gun Dealer", {
  89. color = Color(255, 153, 51, 255),
  90. model = "models/player/smith.mdl",
  91. description = [[You Sell Weapons to help Citizens protect themself or for Thieves to do harm.]],
  92. command = "gundealer",
  93. max = 3,
  94. salary = 55,
  95. admin = 0,
  96. vote = false,
  97. haslicense = true,
  98. })
  99.  
  100. TEAM_HEAVYGUNDEALER = AddExtraTeam("Heavy Gun Dealer", {
  101. color = Color(84, 84, 84, 255),
  102. model = "models/player/niko_bellic/slow.mdl",
  103. description = [[You Heavy Weapons.]],
  104. command = "heavygundealer",
  105. max = 2,
  106. salary = 55,
  107. admin = 0,
  108. vote = false,
  109. haslicense = true,
  110. })
  111.  
  112. TEAM_GANGSTER = AddExtraTeam("Gangster", {
  113. color = Color(198, 226, 255, 255),
  114. model = "models/half-dead/gopniks/extra/playermodelonly.mdl",
  115. description = [[You are the low life, you do petty crimes for money.]],
  116. command = "gangster",
  117. max = 8,
  118. salary = 15,
  119. admin = 0,
  120. vote = false,
  121. haslicense = true,
  122. })
  123.  
  124. TEAM_GANGSTERLEADER = AddExtraTeam("Gangster leader", {
  125. color = Color(153, 204, 255, 255),
  126. model = "models/player/dude.mdl",
  127. description = [[You lead the gangsters.]],
  128. command = "gangsterleader",
  129. max = 1,
  130. salary = 45,
  131. admin = 0,
  132. vote = false,
  133. haslicense = true,
  134. NeedToChangeFrom = {TEAM_GANGSTER}
  135. })
  136.  
  137. TEAM_BRUTEENFORCER = AddExtraTeam("Brute Enforcer", {
  138. color = Color(0, 122, 255, 255),
  139. model = "models/player/umbrella_ct/umbrella_ct.mdl",
  140. description = [[You are A Cop who has betrayed the Feds and is on a Rampage. You may RDM Once every 5 minutes.]],
  141. command = "bruteenforcer",
  142. weapons = {"m9k_tec9"},
  143. max = 1,
  144. salary = 0,
  145. admin = 0,
  146. vote = false,
  147. haslicense = true,
  148. CustomCheckFailMsg = "This job is donator only!",
  149. customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:GetUserGroup() == "donmod" or ply:GetUserGroup() == "dmod" or ply:GetUserGroup() == "donadmin" or ply:GetUserGroup() == "superadmin" or ply:GetUserGroup () == "headadmin" end
  150. })
  151.  
  152. TEAM_SWATCHIEF = AddExtraTeam("SWAT Chief", {
  153. color = Color(0, 0, 153, 255),
  154. model = "models/player/01ar_combine_soldier01.mdl",
  155. description = [[You are in charge of the SWAT Team, You are responsible for protecting The City and leading the SWAT team.]],
  156. weapons = {"m9k_deagle", "m9k_mp5", "m9k_famas", "m9k_l85", "m9k_auga3", "arrest_stick", "unarrest_stick", "stunstick"},
  157. command = "swatchief",
  158. max = 1,
  159. salary = 200,
  160. admin = 0,
  161. vote = true,
  162. haslicense = true,
  163. NeedToChangeFrom = {TEAM_SWAT},
  164. chief = true
  165. customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:GetUserGroup() == "dmod" or ply:GetUserGroup() == "superadmin" or ply:GetUserGroup() == "headadmin" or ply:GetUserGroup() == "donmod" or ply:GetUserGroup() == "donadmin" end,
  166. CustomCheckFailMsg = "This job is donator only!"
  167. })
  168.  
  169. TEAM_KOBALT = AddExtraTeam("Kobalt", {
  170. color = Color(255, 51, 5, 255),
  171. model = "models/player/daedric.mdl",
  172. description = [[This job is for Slyck only! Leader of the Daedric Army]],
  173. weapons = {"m9k_milkormgl", "m9k_rpg7", "m9k_m249lmg", "gdcw_m200i"},
  174. command = "kobalt",
  175. max = 1,
  176. salary = 100,
  177. admin = 0,
  178. vote = false,
  179. haslicense = true,
  180. candemote = false,
  181. mayorCanSetSalary = false,
  182. customCheck = function(ply) return CLIENT or ply:SteamID("SteamId") == "STEAM_0:0:88422219" end,
  183. CustomCheckFailMsg = "This is Slyck's custom job!"
  184. })
  185.  
  186. TEAM_THIEF = AddExtraTeam("Thief", {
  187. color = Color(75, 75, 75, 255),
  188. model = {"models/player/moon_knight/slow_v2.mdl"},
  189. description = [[]],
  190. weapons = {"lockpick","weapon_fists"},
  191. command = "thief",
  192. max = 4,
  193. salary = 60,
  194. admin = 0,
  195. vote = false,
  196. hasLicense = false,
  197. mayorCanSetSalary = false
  198. })
  199.  
  200. TEAM_HOBO = AddExtraTeam("Hobo", {
  201. color = Color(80, 45, 0, 255),
  202. model = "models/player/corpse1.mdl",
  203. description = [[]],
  204. weapons = {"weapon_bugbait"},
  205. command = "hobo",
  206. max = 4,
  207. salary = 0,
  208. admin = 0,
  209. vote = false,
  210. hasLicense = false,
  211. candemote = false,
  212. hobo = true,
  213. mayorCanSetSalary = false
  214. })
  215.  
  216. TEAM_HOBOLORD = AddExtraTeam("Hobo Lord", {
  217. color = Color(80, 45, 0, 255),
  218. model = "models/player/hunter.mdl",
  219. description = [[]],
  220. weapons = {"weapon_fists","m9k_knife"},
  221. command = "hobolord",
  222. max = 1,
  223. salary = 0,
  224. admin = 0,
  225. vote = false,
  226. hasLicense = false,
  227. candemote = false,
  228. hobo = true,
  229. mayorCanSetSalary = false
  230. })
  231.  
  232. TEAM_EXPERTTHIEF = AddExtraTeam("Expert Thief", {
  233. color = Color(18, 55, 211, 59),
  234. model = "models/player/corvo.mdl",
  235. description = [[]],
  236. weapons = {"fastpick","weapon_fists"},
  237. command = "expertthief",
  238. max = 2,
  239. salary = 100,
  240. admin = 0,
  241. vote = false,
  242. hasLicense = false,
  243. customCheck = function(ply) return ply:GetUserGroup() == "Donator" or ply:GetUserGroup() == "dmod" or ply:GetUserGroup() == "superadmin" or ply:GetUserGroup() == "headadmin" or ply:GetUserGroup() == "donmod" or ply:GetUserGroup() == "donadmin" end,
  244. CustomCheckFailMsg = "This job is donator only!"
  245. })
  246.  
  247. /*---------------------------------------------------------------------------
  248. Define which team joining players spawn into and what team you change to if demoted
  249. ---------------------------------------------------------------------------*/
  250. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  251.  
  252.  
  253. /*---------------------------------------------------------------------------
  254. Define which teams belong to civil protection
  255. Civil protection can set warrants, make people wanted and do some other police related things
  256. ---------------------------------------------------------------------------*/
  257. GAMEMODE.CivilProtection = {
  258. [TEAM_POLICE] = true,
  259. [TEAM_CHIEF] = true,
  260. [TEAM_MAYOR] = true,
  261. }
  262.  
  263. /*---------------------------------------------------------------------------
  264. Jobs that are hitmen (enables the hitman menu)
  265. ---------------------------------------------------------------------------*/
  266. DarkRP.addHitmanTeam(TEAM_ASSASSIN)
Advertisement
Add Comment
Please, Sign In to add comment