How to set a job to the usergroup "vip" on DarkRP

As the title says, how do i set a custom job to only be available for vip and higher.
Ive got the job under me (made it cause it is 2013, and i watched a cool police movie so yea :P)

TEAM_SWAT = AddExtraTeam(“S.W.A.T”, {
color = Color(0, 102, 255, 255),
model = “models/player/swat.mdl”,
description = [[You’r a SWAT. You help them when they need.
Can i Raid? = YES]],
weapons = {“weapon_mp5”, “weapon_deagle2”, “keypad_cracker”, “lockpick”},
command = “swat”,
max = 4,
salary = 75,
admin = 0,
vote = true,
hasLicense = true

Either I haven’t seen the DarkRP shared.lua in a while or that looks like a mass of shit. Anyway, what admin plugin are you using?

What admin are you using? if ulx,I’m posting below the code. If you use a different one such as the integrated one or evolve read this link > http://code.google.com/p/darkrp/wiki/DonatorJobs

ULX CODE


TEAM_SWAT = AddExtraTeam("S.W.A.T", {
color = Color(0, 102, 255, 255),
model = "models/player/swat.mdl",
description = [[You'r a SWAT. You help them when they need.
Can i Raid? = YES]],
weapons = {"weapon_mp5", "weapon_deagle2", "keypad_cracker", "lockpick"},
command = "swat",
max = 4,
salary = 75,
admin = 0,
vote = true,
hasLicense = true
customCheck = function(ply)
return ply:IsUserGroup("vip") or ply:IsSuperAdmin()
	end

From reading that you should be able to tell how that system now works, or use the link above.

swat can raid :confused: