Hello,
I have a Problem with my Mayor Job
that restricts the Mayor from Making a
Lottery, Initiating a Lockdown, and Spawning a
Law Board.
Is there any fix? Or do I have to recreate the Mayor?
If so, How do I give permissions?
It say "You do not have right job to /lottery"
This happens to me aswell PLEASE help!
mayor = true in the custom team
[QUOTE]TEAM_MAYOR = AddExtraTeam("Mayor", {
color = Color(150, 20, 20, 255),
model = "models/player/breen.mdl",
description = [[The Mayor 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 = {},
command = "mayor",
max = 1,
salary = 85,
admin = 0,
vote = true,
hasLicense = false,
mayor = true,
help = {
"Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
"Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect.",
"Type /unwanted [Nick|SteamID|Status ID] to clear the suspect.",
"Type /lockdown to initiate a lockdown",
"Type /unlockdown to end a lockdown",
"Type /placelaws to place a screen containing the laws.",
"Type /addlaw and /removelaw to edit the laws."
}
})[/QUOTE]
The error your having is usually because you're using an older shared.lua with a newer darkrp version
Copy and paste the mayor job above. it will fix it.
[editline]10th August 2013[/editline]
I recommend you get a completely new up to date shared.lua. Because other jobs will be messed up.
Sorry, you need to Log In to post a reply to this thread.