Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.68 KB | None | 0 0
  1. TEAM_VIP = DarkRP.createJob("VIP Thief", {
  2.     color = Color(34, 85, 85, 255),
  3.     model = {"models/player/combine_soldier.mdl"},
  4.     description = [[This is a VIP exclusive job.]],
  5.     weapons = {"m9k_ak47", "m9k_m3"},
  6.     command = "vip",
  7.     max = 5,
  8.     salary = 500,
  9.     admin = 0,
  10.     vote = false,
  11.     hasLicense = true,
  12.     candemote = false,
  13.     category = "Criminals",
  14.     PlayerSpawn = function(ply)
  15.         ply:SetMaxHealth(150)
  16.         ply:SetHealth(150)
  17.         ply:SetArmor(150)
  18.     end,
  19.     customCheck = function(ply) return CLIENT or
  20.         table.HasValue({"vip"}, ply:GetNWString("usergroup"))
  21.     end,
  22.     CustomCheckFailMsg = "This job is vip only!",
  23. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement