Advertisement
Guest User

Untitled

a guest
Sep 24th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 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.  
  22. TEAM_ADMIN = DarkRP.createJob("Moderator On Duty", {
  23. color = Color(170, 0, 0, 255),
  24. model = "models/player/Combine_Super_Soldier.mdl",
  25. description = [[Look after the server.]],
  26. weapons = {},
  27. command = "mod",
  28. max = 0,
  29. salary = 5000,
  30. admin = 0,
  31. vote = false,
  32. hasLicense = true,
  33. customCheck = function(ply) return ply:IsAdmin() end,
  34. })
  35.  
  36.  
  37. TEAM_ADMIN = DarkRP.createJob("Admin On Duty", {
  38. color = Color(170, 0, 0, 255),
  39. model = "models/player/magikarp_pokken.mdl",
  40. description = [[Look after the server And Watch The Moderators.]],
  41. weapons = {},
  42. command = "aod",
  43. max = 0,
  44. salary = 5000,
  45. admin = 0,
  46. vote = false,
  47. hasLicense = true,
  48. customCheck = function(ply) return ply:IsAdmin() end,
  49. })
  50.  
  51.  
  52. --[[---------------------------------------------------------------------------
  53. Define which team joining players spawn into and what team you change to if demoted
  54. ---------------------------------------------------------------------------]]
  55. GAMEMODE.DefaultTeam = TEAM_CITIZEN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement