VIP jobs

Post Reply
Zombiekiller804
A semi-regular
A semi-regular
Posts: 26
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Apr 15, 2014 9:12 pm

VIP jobs

Post by Zombiekiller804 »

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
})
User avatar
Sir Nipah
This is my homepage
This is my homepage
Posts: 76
Joined: Mon Jul 08, 2013 3:38 am
Location: Australia/Melbourne
Contact:

Re: VIP jobs

Post by Sir Nipah »

Are your using ULX. If so then try this.

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"
})
Not tested but should work.
http://wiki.darkrp.com/index.php/Donato ... figuration
Image Garry's Mod veteran.
Post Reply