Advertisement
Guest User

mayorsife

a guest
Jul 17th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.81 KB | None | 0 0
  1. TEAM_MAYORSWIFE = DarkRP.createJob("Mayor's Wife", {
  2.     color = Color(250, 0, 0, 255),
  3.     model = {"models/player/mossman.mdl"},
  4.     description = [[You are the mayors wife. When the mayor is demoted you will also be demoted. If the mayor is killed you will have to wait until a new mayor is voted into power. The mayor can /divorce you which demotes you.]],
  5.     weapons = {"weapon_physgun", "weapon_physcannon", "weapon_stunstick"},
  6.     command = "mayorswife",
  7.     max = 1,
  8.     salary = 200,
  9.     admin = 0,
  10.     vote = true,
  11.     hasLicense = true,
  12.     candemote = true,
  13.     category = "CivilProtection",
  14.     PlayerDeath = function(ply, weapon, killer)
  15.         ply:teamBan()
  16.         ply:changeTeam(GAMEMODE.DefaultTeam, true)
  17.         DarkRP.notifyAll(0, 4, "The mayor's wife has died a tragic death.")
  18.     end
  19. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement