Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. --[[---------------------------------------------------------------------------
  2. DarkRP custom jobs
  3. ---------------------------------------------------------------------------
  4. This file contains your custom jobs.
  5. This file should also contain jobs from DarkRP that you edited.
  6.  
  7. Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
  8. Once you've done that, copy and paste the job to this file and edit it.
  9.  
  10. The default jobs can be found here:
  11. https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
  12.  
  13. For examples and explanation please visit this wiki page:
  14. http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
  15.  
  16. Add your custom jobs under the following line:
  17. ---------------------------------------------------------------------------]]
  18.  
  19. Team_Nazi = DarkRP.createJob("WW2 German Veteran", {
  20. color = Color(255, 0, 0, 255),
  21. model = {"models/player/dod_german.mdl"},
  22. description = [[The WW2 German Veteran Rules Are All WW2 American Veteran Are KOS To Him They Can Keep Only Killing Each As Long As They Don’t Get Civi’s In The Crossfire Can not base can not mug can not raid]],
  23. weapons = {},
  24. command = "Nazi",
  25. max = 2,
  26. salary = 250,
  27. admin = 0,
  28. vote = false,
  29. hasLicense = true,
  30. category = "Citizen"
  31. })
  32.  
  33. [[---------------------------------------------------------------------------
  34. Define which team joining players spawn into and what team you change to if demoted
  35. ---------------------------------------------------------------------------]]
  36. GAMEMODE.DefaultTeam = TEAM_CITIZEN
  37. --[[---------------------------------------------------------------------------
  38. Define which teams belong to civil protection
  39. Civil protection can set warrants, make people wanted and do some other police related things
  40. ---------------------------------------------------------------------------]]
  41. GAMEMODE.CivilProtection = {
  42. [TEAM_POLICE] = true,
  43. [TEAM_CHIEF] = true,
  44. [TEAM_MAYOR] = true,
  45. }
  46. --[[---------------------------------------------------------------------------
  47. Jobs that are hitmen (enables the hitman menu)
  48. ---------------------------------------------------------------------------]]
  49. DarkRP.addHitmanTeam(TEAM_MOB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement