• DarkRP Mayors /placelaws doesn't work.
    1 replies, posted
/lockdown, /unlockdown, and /lottery works. /placelaws does not. No console errors, the command goes through with an error saying "You are unable to /placeLaws" in the bottom right. 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 = 100, admin = 0, vote = true, hasLicense = false, mayor = true, PlayerSpawn = function(ply) ply:SetArmor(100) end, PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) if killer:IsPlayer() then DarkRP.notifyAll(0, 4, "The Mayor has been killed and is therefor demoted.") else DarkRP.notifyAll(0, 4, "The Mayor has died and is therefor demoted.") end end, 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." } }) Yes, I've looked everywhere. ([url]http://prntscr.com/41i1nr[/url]) [editline]11th July 2014[/editline] Okay, I figured out its just if I edit a file ingame or clear all props.
Close thread please
Sorry, you need to Log In to post a reply to this thread.