Advertisement
fuzzyjona

garrysmod983 fixed jobs

May 9th, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.78 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. Add jobs under the following line:
  18. ---------------------------------------------------------------------------]
  19.  
  20. TEAM_HOBO = DarkRP.createJob("Hobo", {
  21. color = Color(94, 49, 8, 255),
  22. model = {"models/player/corpse1.mdl"},
  23. description = [[You are a loser
  24. You are the only class allowed to build on the street]],
  25. weapons = {"weapon_crowbar","weapon_bugbait"},
  26. command = "rp_hobo",
  27. max = 5,
  28. salary = 0,
  29. admin = 0,
  30. vote = false,
  31. hasLicense = false,
  32. candemote = true,
  33. -- CustomCheck
  34. medic = false,
  35. chief = false,
  36. mayor = false,
  37. hobo = true,
  38. cook = false,
  39. category = "Hobo",
  40. })
  41.  
  42. TEAM_GUNDEALER = DarkRP.createJob("Gun Dealer", {
  43. color = Color(255, 131, 16, 255),
  44. model = {"models/player/monk.mdl"},
  45. description = [[You sell guns to players
  46. All the guns you sell are legal]],
  47. weapons = {"cw_deagle"},
  48. command = "rp_gundealer",
  49. max = 4,
  50. salary = 550,
  51. admin = 0,
  52. vote = false,
  53. hasLicense = false,
  54. candemote = true,
  55. -- CustomCheck
  56. medic = false,
  57. chief = false,
  58. mayor = false,
  59. hobo = false,
  60. cook = false,
  61. category = "Dealer",
  62. })
  63.  
  64. TEAM_DRUGDEALER = DarkRP.createJob("Drug Dealer", {
  65. color = Color(255, 16, 202, 255),
  66. model = {"models/player/soldier_stripped.mdl"},
  67. description = [[You sell Drugs ILLEGALY]],
  68. weapons = {"cw_deagle"},
  69. command = "rp_drugdealer",
  70. max = 2,
  71. salary = 550,
  72. admin = 0,
  73. vote = false,
  74. hasLicense = false,
  75. candemote = true,
  76. -- CustomCheck
  77. medic = false,
  78. chief = false,
  79. mayor = false,
  80. hobo = false,
  81. cook = false,
  82. category = "Dealer",
  83. })
  84.  
  85. TEAM_BLACKMARKETDEALER = DarkRP.createJob("Black Market Dealer", {
  86. color = Color(107, 16, 255, 255),
  87. model = {"models/player/soldier_stripped.mdl"},
  88. description = [[You sell GunsILLEGALY]],
  89. weapons = {"cw_deagle"},
  90. command = "rp_bmdealer",
  91. max = 2,
  92. salary = 550,
  93. admin = 0,
  94. vote = false,
  95. hasLicense = false,
  96. candemote = true,
  97. -- CustomCheck
  98. medic = false,
  99. chief = false,
  100. mayor = false,
  101. hobo = false,
  102. cook = false,
  103. category = "Dealer",
  104. })
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112. --[[---------------------------------------------------------------------------
  113. Define which team joining players spawn into and what team you change to if demoted
  114. ---------------------------------------------------------------------------]]
  115. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  116.  
  117.  
  118. --[[---------------------------------------------------------------------------
  119. Define which teams belong to civil protection
  120. Civil protection can set warrants, make people wanted and do some other police related things
  121. ---------------------------------------------------------------------------]]
  122. GAMEMODE.CivilProtection = {
  123. [TEAM_RP_COP] = true,
  124. [TEAM_RP_CPCHIEF] = true,
  125. [TEAM_MAYOR] = true,
  126. [TEAM_RP_SPECIALOP] = true,
  127. }
  128.  
  129. --[[---------------------------------------------------------------------------
  130. Jobs that are hitmen (enables the hitman menu)
  131. ---------------------------------------------------------------------------]]
  132. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement