Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.50 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_SUPERADMIN = DarkRP.createJob("Superadmin", {
  21. color = Color(204, 0, 0),
  22. model = {
  23. "models/player/combine_super_soldier.mdl",
  24. },
  25. description = [[This is a Superadmin Job]],
  26. weapons = {"pocket", "keys", "weapon_physgun","weapon_physcannon"},
  27. command = "Superadmin",
  28. max = 0, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
  29. salary = 0,
  30. admin = 2,
  31. vote = false,
  32. hasLicense = true,
  33. })
  34. TEAM_ADMIN = DarkRP.createJob("Admin", {
  35. color = Color(204, 0, 0),
  36. model = {
  37. "models/player/combine_super_soldier.mdl",
  38. },
  39. description = [[This is a Admin Job]],
  40. weapons = {"pocket", "keys", "weapon_physgun","weapon_physcannon"},
  41. command = "Admin",
  42. max = 0, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
  43. salary = 0,
  44. admin = 1,
  45. vote = false,
  46. hasLicense = true,
  47. })
  48. TEAM_CP = DarkRP.createJob("Civil Protection", {
  49. color = Color(51, 51, 255),
  50. model = {
  51. "models/player/uk_police/uk_police_01.mdl",
  52. "models/player/uk_police/uk_police_02.mdl",
  53. "models/player/uk_police/uk_police_03.mdl",
  54. "models/player/uk_police/uk_police_04.mdl",
  55. "models/player/uk_police/uk_police_05.mdl",
  56. "models/player/uk_police/uk_police_06.mdl",
  57. "models/player/uk_police/uk_police_07.mdl",
  58. "models/player/uk_police/uk_police_08.mdl",
  59. "models/player/uk_police/uk_police_09.mdl",
  60. },
  61. description = [[This is a Civil Protection Job]],
  62. weapons = {"stunstick", "pocket", "keys", "weapon_physgun", "weapon_physcannon", "fas2_p226", "arrest_stick", "unarrest_stick", "door_ram", "weaponchecker"},
  63. command = "Cp",
  64. max = 10, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
  65. salary = 100,
  66. admin = 0,
  67. vote = true,
  68. hasLicense = true,
  69. chief = true,
  70. })
  71. TEAM_MAYOR = DarkRP.createJob("Mayor", {
  72. color = Color(51, 51, 255),
  73. model = {
  74. "models/player/breen.mdl",
  75. },
  76. description = [[This is a Mayor job]],
  77. weapons = {"pocket", "keys", "weapon_physgun", "weapon_physcannon", "fas2_p226", "unarrest_stick"},
  78. command = "Mayor",
  79. max = 1, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
  80. salary = 1000,
  81. admin = 0,
  82. vote = true,
  83. hasLicense = true,
  84. mayor = true,
  85. })
  86. TEAM_BOUNTYHUNTER = DarkRP.createJob("Bounty hunter", {
  87. color = Color(51, 51, 255),
  88. model = {
  89. "models/hgn/swrp/swrp/mandalorian_bobafett.mdl",
  90. "models/hgn/swrp/swrp/mandalorian_bobafett_02.mdl",
  91. },
  92. description = [[This is a Bounty Hunter Job]],
  93. weapons = {"pocket", "keys", "weapon_physgun", "weapon_physcannon", "csgo_karambit","fas2_p226"},
  94. command = "bountyhunter",
  95. max = 5, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
  96. salary = 250,
  97. admin = 0,
  98. vote = true,
  99. hasLicense = false,
  100. })
  101. TEAM_HOBO = DarkRP.createJob("Hobo", {
  102. color = Color(0, 102, 204),
  103. model = {
  104. "models/player/meeseeks/meeseeks.mdl",
  105. },
  106. description = [[You'r a hobo your nothing to anyone in this world]],
  107. weapons = {"pocket", "keys", "weapon_physgun", "weapon_physcannon","weapon_angryhoboswep_boot"},
  108. command = "hobo",
  109. max = 0, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
  110. salary = 0,
  111. admin = 0,
  112. vote = false,
  113. hasLicense = false,
  114. })
  115. TEAM_HOBOLEADER = DarkRP.createJob("Hobo Leader", {
  116. color = Color(0, 102, 204),
  117. model = {
  118. "models/puppymonkeybaby.mdl",
  119. },
  120. description = [[Your a hobo Leader your leader of hobos and the hobos must listen to you ]],
  121. weapons = {"pocket", "keys", "weapon_physgun", "weapon_physcannon","weapon_angryhoboswep_boot"},
  122. command = "hoboleader",
  123. max = 0, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
  124. salary = 0,
  125. admin = 0,
  126. vote = false,
  127. hasLicense = false,
  128. })
  129. --[[---------------------------------------------------------------------------
  130. Define which team joining players spawn into and what team you change to if demoted
  131. ---------------------------------------------------------------------------]]
  132. GAMEMODE.DefaultTeam =
  133.  
  134.  
  135. --[[---------------------------------------------------------------------------
  136. Define which teams belong to civil protection
  137. Civil protection can set warrants, make people wanted and do some other police related things
  138. ---------------------------------------------------------------------------]]
  139. GAMEMODE.CivilProtection = {
  140. [TEAM_CP] = true,
  141. }
  142.  
  143. --[[---------------------------------------------------------------------------
  144. Jobs that are hitmen (enables the hitman menu)
  145. ---------------------------------------------------------------------------]]
  146. DarkRP.addHitmanTeam(TEAM_BOUNTYHUNTER)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement