Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TEAM_MAYORSWIFE = DarkRP.createJob("Mayor's Wife", {
- color = Color(250, 0, 0, 255),
- model = {"models/player/mossman.mdl"},
- 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.]],
- weapons = {"weapon_physgun", "weapon_physcannon", "weapon_stunstick"},
- command = "mayorswife",
- max = 1,
- salary = 200,
- admin = 0,
- vote = true,
- hasLicense = true,
- candemote = true,
- category = "CivilProtection",
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- DarkRP.notifyAll(0, 4, "The mayor's wife has died a tragic death.")
- end
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement