Entités VIP important

  • Initiateur de la discussion
Rubys-Waf

Rubys-Waf

Geek
Messages
27
Score réaction
0
Points
95
Bonjour, j'ai bientôt fini mon serveur il me reste quelques choses à faire don mettre des entités en VIP pour les VIP mais je ne trouve pas la(es) phrase(s) à écrire .

voici le script (quel est(sont) les phrase(s) à mettre ?)

AddEntity("Printer", {
ent = "k_printer_t1",
model = "models/props_lab/reciever01a.mdl",
price = 400,
max = 1,
cmd = "/buyprinterT1"
})

AddEntity("Printer VIP", {
ent = "k_printer_t5",
model = "models/props_lab/reciever01a.mdl",
price = 800,
max = 1,
cmd = "/buyprinterT5"
})

AddEntity("Argent + VIP", {
ent = "k_printer_upgrade",
model = "models/props_lab/box01a.mdl",
price = 1000,
max = 2,
cmd = "/PrinterUpgrade"
})

AddEntity("Rapidite +1 VIP", {
ent = "k_printer_printspeed_t1",
model = "models/props_lab/box01a.mdl",
price = 500,
max = 2,
cmd = "/rapide"
})

AddEntity("Rapidite +2 VIP", {
ent = "k_printer_printspeed_t2",
model = "models/props_lab/box01a.mdl",
price = 800,
max = 2,
cmd = "/rapidevip"
})

AddEntity("Encre", {
ent = "k_coolant_cell",
model = "models/props_lab/box01a.mdl",
price = 400,
max = 1,
cmd = "/encre"
})

AddEntity("Corde", {
ent = "weapon_cuff_rope",
model = "models/props_lab/box01a.mdl",
price = 100,
max = 1,
cmd = "/cuffrope"
})

AddEntity("PV voiture VIP", {
ent = "vc_pickup_healthkit_10",
model = "models/props_lab/box01a.mdl",
price = 150,
max = 10,
cmd = "/rapide"
})
 
Boris-MilleKatre

Boris-MilleKatre

Geek
Messages
80
Score réaction
11
Points
95
local donators = { "VIP", "admin", "superadmin" };
AddEntity("Printer", {
ent = "k_printer_t1",
model = "models/props_lab/reciever01a.mdl",
price = 400,
max = 1,
cmd = "/buyprinterT1"
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})

local donators = { "VIP", "admin", "superadmin" };
AddEntity("Printer VIP", {
ent = "k_printer_t5",
model = "models/props_lab/reciever01a.mdl",
price = 800,
max = 1,
cmd = "/buyprinterT5"
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})

local donators = { "VIP", "admin", "superadmin" };
AddEntity("Argent + VIP", {
ent = "k_printer_upgrade",
model = "models/props_lab/box01a.mdl",
price = 1000,
max = 2,
cmd = "/PrinterUpgrade"
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})

local donators = { "VIP", "admin", "superadmin" };
AddEntity("Rapidite +1 VIP", {
ent = "k_printer_printspeed_t1",
model = "models/props_lab/box01a.mdl",
price = 500,
max = 2,
cmd = "/rapide"
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})

local donators = { "VIP", "admin", "superadmin" };
AddEntity("Rapidite +2 VIP", {
ent = "k_printer_printspeed_t2",
model = "models/props_lab/box01a.mdl",
price = 800,
max = 2,
cmd = "/rapidevip"
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})

local donators = { "VIP", "admin", "superadmin" };
AddEntity("Encre", {
ent = "k_coolant_cell",
model = "models/props_lab/box01a.mdl",
price = 400,
max = 1,
cmd = "/encre"
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})

local donators = { "VIP", "admin", "superadmin" };
AddEntity("Corde", {
ent = "weapon_cuff_rope",
model = "models/props_lab/box01a.mdl",
price = 100,
max = 1,
cmd = "/cuffrope"
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})

local donators = { "VIP", "admin", "superadmin" };
AddEntity("PV voiture VIP", {
ent = "vc_pickup_healthkit_10",
model = "models/props_lab/box01a.mdl",
price = 150,
max = 10,
cmd = "/rapide"
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})
 
  • J'aime
Réactions: Rubys-Waf
  • Initiateur de la discussion
Rubys-Waf

Rubys-Waf

Geek
Messages
27
Score réaction
0
Points
95
Les entités n'apparessent plus
 
C

christopherl2

Geek
Messages
15
Score réaction
0
Points
65
Utilise sa : www.thecodingbeast.com/tools /va dans entitée et tu met les groups vip
 
C

christopherl2

Geek
Messages
15
Score réaction
0
Points
65
Si tu as probleme ajoute moi skype (minecraftien159 ) je suis codeur =)
 
Boris-MilleKatre

Boris-MilleKatre

Geek
Messages
80
Score réaction
11
Points
95
local donators = { "VIP", "admin", "superadmin" };
AddEntity("Printer", {
ent = "k_printer_t1",
model = "models/props_lab/reciever01a.mdl",
price = 400,
max = 1,
cmd = "/buyprinterT1",
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})

local donators = { "VIP", "admin", "superadmin" };
AddEntity("Printer VIP", {
ent = "k_printer_t5",
model = "models/props_lab/reciever01a.mdl",
price = 800,
max = 1,
cmd = "/buyprinterT5",
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})

local donators = { "VIP", "admin", "superadmin" };
AddEntity("Argent + VIP", {
ent = "k_printer_upgrade",
model = "models/props_lab/box01a.mdl",
price = 1000,
max = 2,
cmd = "/PrinterUpgrade",
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})

local donators = { "VIP", "admin", "superadmin" };
AddEntity("Rapidite +1 VIP", {
ent = "k_printer_printspeed_t1",
model = "models/props_lab/box01a.mdl",
price = 500,
max = 2,
cmd = "/rapide",
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})

local donators = { "VIP", "admin", "superadmin" };
AddEntity("Rapidite +2 VIP", {
ent = "k_printer_printspeed_t2",
model = "models/props_lab/box01a.mdl",
price = 800,
max = 2,
cmd = "/rapidevip",
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})

local donators = { "VIP", "admin", "superadmin" };
AddEntity("Encre", {
ent = "k_coolant_cell",
model = "models/props_lab/box01a.mdl",
price = 400,
max = 1,
cmd = "/encre",
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})

local donators = { "VIP", "admin", "superadmin" };
AddEntity("Corde", {
ent = "weapon_cuff_rope",
model = "models/props_lab/box01a.mdl",
price = 100,
max = 1,
cmd = "/cuffrope",
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})

local donators = { "VIP", "admin", "superadmin" };
AddEntity("PV voiture VIP", {
ent = "vc_pickup_healthkit_10",
model = "models/props_lab/box01a.mdl",
price = 150,
max = 10,
cmd = "/rapide",
customCheck = function(ply) return table.HasValue( donators, ply:GetUserGroup() ) end,
CustomCheckFailMsg = "Vous devez etre VIP pour acheter ces objet",
})


Voila comme cela j'avais oublier une virgule.
 
  • Initiateur de la discussion
Rubys-Waf

Rubys-Waf

Geek
Messages
27
Score réaction
0
Points
95
Désolé pour l'attente je suis revenue de mes vac

je vais testé sa boris et christopher
 
Boris-MilleKatre

Boris-MilleKatre

Geek
Messages
80
Score réaction
11
Points
95
test le mien il marche parfaitement je lutilise pour mon serveur
 
Discord d'entraide
Rejoignz-nous sur Discord