Hello guys I know this is the correct format but how do I make VIP jobs and jobs for only certain players I know how to do normal jobs tho
TEAM_DRUG = DarkRP.createJob("Drug Dealer", {
color = Color(80, 45, 0, 255),
model = "models/Eli.mdl",
description = [[You're a drug dealer. You sell anonymous drugs. doing /advert
will be instant demotion]],
weapons = {},
command = "drug",
max = 3,
salary = 15,
admin = 0,
vote = false,
hasLicense = false
})
VIP jobs
-
- A semi-regular
- Posts: 26
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Tue Apr 15, 2014 9:12 pm
- Sir Nipah
- This is my homepage
- Posts: 76
- Joined: Mon Jul 08, 2013 3:38 am
- Location: Australia/Melbourne
- Contact:
Re: VIP jobs
Are your using ULX. If so then try this.
Not tested but should work.
http://wiki.darkrp.com/index.php/Donato ... figuration
Code: Select all
TEAM_DRUG = DarkRP.createJob("Drug Dealer", {
color = Color(80, 45, 0, 255),
model = "models/Eli.mdl",
description = [[You're a drug dealer. You sell anonymous drugs. doing /advert
will be instant demotion]],
weapons = {},
command = "drug",
max = 3,
salary = 15,
admin = 0,
vote = false,
hasLicense = false
ply:GetNWString("usergroup") == "VIP"
})
http://wiki.darkrp.com/index.php/Donato ... figuration