Hello to whoever is reading this. When added a job to my darkrp server and joined it all of my custom jobs were gone including the one I added. I'm not sure why this happened. I put each of the jobs spaced out between each other by at least one line. Here are the custom jobs I have so maybe you can tell me why none of them are showing up in my server
TEAM_BLACK = AddExtraTeam("Black Market Dealer", {
color = Color(70, 70, 70, 255),
model = "models/player/leet.mdl",
description = [[You are a black market dealer NOT a gun dealer.
You sell illegal weapons to the people but beware
because you might get caught by the police!]],
weapons = {""},
command = "black",
max = 2,
salary = 50,
admin = 0,
vote = false,
hasLicense = false
})
TEAM_HITMAN = AddExtraTeam("Hitman", Color(70, 70, 70, 255), "models/Agent_47/agent_47.mdl", [[You are a hitman, the best person around for
getting rid of people. You are allowed to kill
people ONLY if you are payed. Although completing
hits is against the law so you need to swiftly
kill your person and get out of there.]], {"ls_sniper"}, "hitman", 2, 50, 0, false, true, false)
TEAM_DONATORJOB = AddExtraTeam("Ninja", {
color = Color(70, 70, 70, 225),
model = "models/player/demonicking/anbukakashi.mdl",
description = [[You're a ninja, an ELITE assasin stocked with the
best of the best weapons to take down your enemy with great percision
and execution. People are able to hire you for money to kill an enemy
just like hitman. The difference between you and a hitman is you have
elite weapons and tools to kill your target quickly and then get away
without ever being seen.]],
weapons = {"models/weapons/w_crossbow.mdl"},
command = "ninja",
max = 1,
salary = 60,
admin = 0,
vote = false,
hasLicense = false
customCheck = function(ply) return ply:GetUserGroup() == "donator" or ply:IsAdmin() end,
CustomCheckFailMsg = "This job is DONATOR only!"
})
On the Hitman, you're missing a comma after hasLicense.
Thanks
Sorry, you need to Log In to post a reply to this thread.