Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TEAM_VIP = DarkRP.createJob("VIP Thief", {
- color = Color(34, 85, 85, 255),
- model = {"models/player/combine_soldier.mdl"},
- description = [[This is a VIP exclusive job.]],
- weapons = {"m9k_ak47", "m9k_m3"},
- command = "vip",
- max = 5,
- salary = 500,
- admin = 0,
- vote = false,
- hasLicense = true,
- candemote = false,
- category = "Criminals",
- PlayerSpawn = function(ply)
- ply:SetMaxHealth(150)
- ply:SetHealth(150)
- ply:SetArmor(150)
- end,
- customCheck = function(ply) return CLIENT or
- table.HasValue({"vip"}, ply:GetNWString("usergroup"))
- end,
- CustomCheckFailMsg = "This job is vip only!",
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement