Hi, i cant seem to get my donator jobs working. It worked on my local server and when i uploaded it to the server im renting it doesnt want to work. I get no error etc but when i click on the job itself nothing happens, it doesnt change job it doesnt give errors its like i never even clicked it. If a admin trys the job it works but if a donator trys nothing happens, here is one of the jobs;
[CODE]TEAM_PROTHIEF = DarkRP.createJob("Pro Thief", {
color = Color(100, 0, 0, 255),
VIPOnly = true,
model = "models/player/Phoenix.mdl",
description = [[You are a pro thief, the best of the best. ]],
weapons = {"lockpick","m9k_honeybadger","rp_pickpocket"},
command = "prothief",
max = 1,
salary = 130,
admin = 0,
vote = false,
haslicense = true,
prior = false,
customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "donator" or ply:IsAdmin() end
})[/CODE]
Thanks to anyone that can help :)
Are you using ULX admin mod?
[editline]26th April 2014[/editline]
Try
[QUOTE]TEAM_PROTHIEF = DarkRP.createJob("Pro Thief", {
color = Color(100, 0, 0, 255),
model = "models/player/Phoenix.mdl",
description = [[You are a pro thief, the best of the best. ]],
weapons = {"lockpick","m9k_honeybadger","rp_pickpocket"},
command = "prothief",
max = 1,
salary = 130,
admin = 0,
vote = false,
haslicense = true,
prior = false,
customCheck = function(ply) return ply:GetNWString("usergroup") == "donator" or ply:IsAdmin() end,
})[/QUOTE]
If your using ULX Use this:
[code]
customCheck = function(ply)
return ply:GetUserGroup("VIP")
[/code]
The one you use is for Fadmin!
Neither didnt work, i have no idea why its doing this.
[QUOTE=Sam499;44650909]Neither didnt work, i have no idea why its doing this.[/QUOTE]
Send the code with what i sent you put in.
[URL="http://www.thecodingbeast.com/tools"]http://www.thecodingbeast.com/tools[/URL] Use the custom check generator.
Still not working
-Bump-
Sorry, you need to Log In to post a reply to this thread.