Advertisement
Guest User

Untitled

a guest
Nov 16th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 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. TEAM_THIEF = DarkRP.createJob("Thief", {
  21. color = Color(0, 0, 0, 255),
  22. model = "models/player/arctic.mdl",
  23. description = [[You are a thief, rob people, break into houses and steal printers]],
  24. weapons = {"lockpick"},
  25. command = "thief",
  26. max = 2,
  27. salary = 65,
  28. admin = 0,
  29. vote = false,
  30. hasLicense = false,
  31. })
  32.  
  33. TEAM_OWNER = DarkRP.createJob("Owner On Duty", {
  34. color = Color(137, 8, 8, 255),
  35. model = {"models/player/combine_super_soldier.mdl"},
  36. description = [[Owner job! Manage ya staff! Abu.. What? ]],
  37. weapons = {"m9k_spas12"},
  38. command = "OOD",
  39. max = 2,
  40. salary = 0,
  41. admin = 2,
  42. vote = false,
  43. hasLicense = true,
  44. candemote = true,
  45. -- CustomCheck
  46. medic = false,
  47. chief = false,
  48. mayor = false,
  49. hobo = false,
  50. cook = false,
  51. category = "Staff",
  52. })
  53.  
  54.  
  55.  
  56.  
  57.  
  58. --[[---------------------------------------------------------------------------
  59. Define which team joining players spawn into and what team you change to if demoted
  60. ---------------------------------------------------------------------------]]
  61. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  62.  
  63.  
  64. --[[---------------------------------------------------------------------------
  65. Define which teams belong to civil protection
  66. Civil protection can set warrants, make people wanted and do some other police related things
  67. ---------------------------------------------------------------------------]]
  68. GAMEMODE.CivilProtection = {
  69. [TEAM_POLICE] = true,
  70. [TEAM_CHIEF] = true,
  71. [TEAM_MAYOR] = true,
  72. }
  73.  
  74. --[[---------------------------------------------------------------------------
  75. Jobs that are hitmen (enables the hitman menu)
  76. ---------------------------------------------------------------------------]]
  77. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement