- Initiateur de la discussion
Z
ZedkaHD
Geek
- Messages
- 7
- Score réaction
- 0
- Points
- 65
Bonjour à tous,
Je vous demanderais de m'aider car pour les jobs VIP je mets bien les codes customcheck ect... , le voici :
TEAM_TEST = DarkRP.createJob("Youtube", {
color = Color(126, 126, 126, 255),
model = "models/player/group01/Male_04.mdl",
description = [[This is foor youtube.]],
weapons = {"arrest_stick", "m9k_ak47", "m9k_deagle"},
command = "youtube",
max = 1,
salary = 150,
admin = 0,
vote = false,
hasLiscense = false,
customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "admin" end,
CustomCheckFailMsg = "You gonna learn today! Not allowed for you!"
})
Voilà, merci de m'aider
Je vous demanderais de m'aider car pour les jobs VIP je mets bien les codes customcheck ect... , le voici :
TEAM_TEST = DarkRP.createJob("Youtube", {
color = Color(126, 126, 126, 255),
model = "models/player/group01/Male_04.mdl",
description = [[This is foor youtube.]],
weapons = {"arrest_stick", "m9k_ak47", "m9k_deagle"},
command = "youtube",
max = 1,
salary = 150,
admin = 0,
vote = false,
hasLiscense = false,
customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "superadmin" or ply:GetNWString("usergroup") == "admin" end,
CustomCheckFailMsg = "You gonna learn today! Not allowed for you!"
})
Voilà, merci de m'aider