Advertisement
Guest User

Untitled

a guest
Jul 25th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. TEAM_MAYOR1 = DarkRP.createJob("Donald Trunk", {
  2. color = Color(150, 20, 20, 255),
  3. model = "models/Player/Donald_Trump.mdl",
  4. description = [[The Mayor of the city creates laws to serve the greater good
  5. of the people.
  6. If you are the mayor you may create and accept warrants.
  7. Type /wanted <name> to warrant a player
  8. Type /jailpos to set the Jail Position
  9. Type /lockdown initiate a lockdown of the city.
  10. Everyone must be inside during a lockdown.
  11. The cops patrol the area
  12. /unlockdown to end a lockdown]],
  13. weapons = {},
  14. command = "donald",
  15. max = 1,
  16. salary = GAMEMODE.Config.normalsalary * 1.89,
  17. admin = 0,
  18. vote = true,
  19. level = 10,
  20. hasLicense = false,
  21. mayor = true,
  22. PlayerDeath = function(ply, weapon, killer)
  23. ply:teamBan()
  24. ply:changeTeam(GAMEMODE.DefaultTeam, true)
  25. if killer:IsPlayer() then
  26. DarkRP.notifyAll(0, 4, "Donald Trunk has been killed and is therefor demoted.")
  27. else
  28. DarkRP.notifyAll(0, 4, "Donald Trunk has been killed and is therefor demoted")
  29. end
  30. end
  31. })
  32.  
  33. TEAM_MAYOR2 = DarkRP.createJob("Barry O'Bomber", {
  34. color = Color(150, 20, 20, 255),
  35. model = "models/Obama/Obama.mdl",
  36. description = [[The Mayor of the city creates laws to serve the greater good
  37. of the people.
  38. If you are the mayor you may create and accept warrants.
  39. Type /wanted <name> to warrant a player
  40. Type /jailpos to set the Jail Position
  41. Type /lockdown initiate a lockdown of the city.
  42. Everyone must be inside during a lockdown.
  43. The cops patrol the area
  44. /unlockdown to end a lockdown]],
  45. weapons = {},
  46. command = "obama",
  47. level = 10,
  48. max = 1,
  49. salary = GAMEMODE.Config.normalsalary * 1.89,
  50. admin = 0,
  51. vote = true,
  52. hasLicense = false,
  53. mayor = true,
  54. PlayerDeath = function(ply, weapon, killer)
  55. ply:teamBan()
  56. ply:changeTeam(GAMEMODE.DefaultTeam, true)
  57. if killer:IsPlayer() then
  58. DarkRP.notifyAll(0, 4, "Barry O'Bomber has been killed and is therefor demoted.")
  59. else
  60. DarkRP.notifyAll(0, 4, "Barry O'Bomber has died and is therefor demoted.")
  61. end
  62. end
  63. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement