I made a DarkRP server and i am trying to make donator jobs i use ULX Admin for the Donator rank and here is my code for the job.
[lua]
TEAM_PROTERRORIST = DarkRP.createJob("Pro Terrorist", {
color = Color(238, 99, 99, 255),
model = "models/player/group02/male_04.mdl",
description = [[Donator Rank. Can Raid. Bring terror upon the server.]],
weapons = {"m9k_ak47"},
command = "proterrorist",
max = 10,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
customCheck = function(ply) return ply:GetNWString("usergroup") == "donator" end
})
[/lua]
I've tried many things and I cant figure it out so someone please help.
[CODE] TEAM_PROTERRORIST = DarkRP.createJob("Pro Terrorist", {
color = Color(238, 99, 99, 255),
model = "models/player/group02/male_04.mdl",
description = [[Donator Rank. Can Raid. Bring terror upon the server.]],
weapons = {"m9k_ak47"},
command = "proterrorist",
max = 10,
salary = 250,
admin = 0,
vote = false,
hasLicense = true,
customCheck = function(ply) return ply:IsUserGroup("donator") end
})[/CODE]
Try that.
Sorry, you need to Log In to post a reply to this thread.