Pivity

Mayor Help

Last read Never
#1

So on my DarkRP server its a president and the president should be able to give out warrants and wanted but he cant, this is the lua job


TEAM_PRESIDENT = DarkRP.createJob("President", {

  color = Color(0, 0, 255, 255),

  model = {"models/obama/obama.mdl"},

  description = [[As a President you are responsible for the well being of the town and its citizens. You are authorised to give out gun license and warrants.


- Raid: No

- Mug: No

- Steal: No

- Kidnap: No]],

  weapons = {"arrest_stick", "stunstick", "unarrest_stick"},

  command = "president",

  max = 1,

  salary = 3000,

  admin = 0,

  vote = true,

  hasLicense = true,

  candemote = true,

  category = "Government",

  mayor = true

})

i dont know why it doesnt work, he can place law boards and shit but not give out warrants

https://gyazo.com/d529bb4f936c6c4ca78d72d1f44ef16a

#2

Warrants require the chief param to be true iirc.

TEAM_PRESIDENT = DarkRP.createJob("President", {
  color = Color(0, 0, 255, 255),
  model = {"models/obama/obama.mdl"},
  description = [[As a President you are responsible for the well being of the town and its citizens. You are authorised to give out gun license and warrants.




- Raid: No

- Mug: No

- Steal: No

- Kidnap: No]],
  weapons = {"arrest_stick", "stunstick", "unarrest_stick"},
  command = "president",
  max = 1,
  salary = 3000,
  admin = 0,
  vote = true,
  hasLicense = true,
  candemote = true,
  category = "Government",
  mayor = true,
chief = true
})
Agree x 1Friendly x 1
#3

Thank you :)

Friendly x 1
#4

hmm still doesn't work i tried doing that code and it still hasn't worked, maybe its in the darkrpmodification? I tried deleting the darkrpmodification and then everything worked like it should have worked but when i downloaded it again and put the jobs and categories in it doesnt work, i can send all everything i have in the darkrpmodification like jobs, categories etc.


(EDIT): i fixed it

Users viewing this thread
Nobody