Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. TEAM_PRESIDENT = DarkRP.createJob("President", {
  2. color = Color(220, 20, 60, 255),
  3. model = "models/player/donald_trump.mdl",
  4. description = [[The President 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 = {"surrender", "garde_a_vousv1.2"},
  14. command = "president",
  15. max = 1,
  16. salary = GAMEMODE.Config.normalsalary * 1.89,
  17. admin = 0,
  18. vote = true,
  19. hasLicense = false,
  20. category = "Government",
  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, "The President has been killed and is therefore demoted.")
  27. else
  28. DarkRP.notifyAll(0, 4, "The President has died and is therefore demoted.")
  29. end,
  30. end,
  31. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement