Advertisement
Guest User

Untitled

a guest
Mar 4th, 2015
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 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_LAWYER = DarkRP.createJob("Lawyer", {
  22. color = Color(100, 150, 200, 255),
  23. model = "models/player/hostage/hostage_04.mdl",
  24. description = [[As a lawyer you are responsible for fighting on your clients behalf. This includes bailing them out jail.]],
  25. weapons = {"unarrest_stick", "hl2_combo_fists"},
  26. command = "lawyer",
  27. max = 3,
  28. salary = 60,
  29. admin = 0,
  30. vote = true,
  31. hasLicense = false,
  32. })
  33.  
  34.  
  35.  
  36.  
  37. --[[---------------------------------------------------------------------------
  38. Define which team joining players spawn into and what team you change to if demoted
  39. ---------------------------------------------------------------------------]]
  40. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  41.  
  42.  
  43. --[[---------------------------------------------------------------------------
  44. Define which teams belong to civil protection
  45. Civil protection can set warrants, make people wanted and do some other police related things
  46. ---------------------------------------------------------------------------]]
  47. GAMEMODE.CivilProtection = {
  48. [TEAM_POLICE] = true,
  49. [TEAM_CHIEF] = true,
  50. [TEAM_MAYOR] = true,
  51. }
  52.  
  53. --[[---------------------------------------------------------------------------
  54. Jobs that are hitmen (enables the hitman menu)
  55. ---------------------------------------------------------------------------]]
  56. DarkRP.addHitmanTeam(TEAM_MOB)
  57. DarkRP.addHitmanTeam(TEAM_HIT)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement