Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TEAM_PRESIDENT = DarkRP.createJob("President", {
- color = Color(220, 20, 60, 255),
- model = "models/player/donald_trump.mdl",
- description = [[The President of the city creates laws to serve the greater good
- of the people.
- If you are the mayor you may create and accept warrants.
- Type /wanted <name> to warrant a player
- Type /jailpos to set the Jail Position
- Type /lockdown initiate a lockdown of the city.
- Everyone must be inside during a lockdown.
- The cops patrol the area
- /unlockdown to end a lockdown]],
- weapons = {"surrender", "garde_a_vousv1.2"},
- command = "president",
- max = 1,
- salary = GAMEMODE.Config.normalsalary * 1.89,
- admin = 0,
- vote = true,
- hasLicense = false,
- category = "Government",
- mayor = true,
- PlayerDeath = function(ply, weapon, killer)
- ply:teamBan()
- ply:changeTeam(GAMEMODE.DefaultTeam, true)
- if killer:IsPlayer() then
- DarkRP.notifyAll(0, 4, "The President has been killed and is therefore demoted.")
- else
- DarkRP.notifyAll(0, 4, "The President has died and is therefore demoted.")
- end,
- end,
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement