Hello there i looked around on the internet but couldn't find anything so i decided to go on here so basically i want to know how to disable the mayor job and create a custom job that has everything the same like that he can give gun license etc. So if anyone knows how to do that please help me out. I need it so i can change the player models without it breaking and the name to President.
This will help you
Adding the
mayor = true,
thing will be the thing you are looking for.
If you're looking for one that's named president use this:
TEAM_MAYOR = DarkRP.createJob("President", {
color = Color(170, 20, 20, 255),
model = "/path/to/your/model.mdl",
description = [[Your Description
]],
weapons = {},
command = "mayor",
max = 1,
salary = GAMEMODE.Config.normalsalary * 12,
admin = 0,
vote = true,
hasLicense = true,
mayor = true,
category = "yourcategory",
})
If you don't need the category or description just remove it.
Ty
Sorry, you need to Log In to post a reply to this thread.