kittaiyo

Untitled

Feb 28th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. TEAM_OBIWANKEN = DarkRP.createJob("GNL Obi-Wan Kenobi", {
  2. color = Color(255, 93, 0, 255),
  3. model = {
  4. "models/tfa/comm/gg/pm_sw_obiwan_alt.mdl",
  5. },
  6. description = [[<Whitelist> =VIP= Vous êtes le Général de la 212th]],
  7. weapons = {"weapon_lightsaber","swep_radiodevice"},
  8. command = "obiwan",
  9. max = 1, -- at most 70% of the players can have this job. Set to a whole number to set an absolute limit.
  10. salary = 100,
  11. admin = 0,
  12. vote = false,
  13. hasLicense = false,
  14. category = "Régiment 212th",
  15. PlayerLoadout = function( ply ) return
  16. ply:SetHealth(3000) end,
  17. customCheck = function(ply) return CLIENT or
  18. table.HasValue({'superadmin','Gerant-Staff', 'Administrateur', 'Moderateur', 'Moderateur-Test', 'VIP', "Gerant-CloneWarsRP"}, ply:GetNWString('usergroup'))
  19. CustomCheckFailMsg = "Ce métier est reservé aux VIP.",
  20. })
Advertisement
Add Comment
Please, Sign In to add comment