Mes entités ne s'accorde pas avec mon job (bonne TEAM)

  • Initiateur de la discussion
KMS [FR]

KMS [FR]

Geek
Messages
154
Score réaction
13
Points
65
bonjour, comme dit dans le titre j'ai créer un job (TEAM_DISTI) et il ne s'acccorde pas avec mes entités. merci d'avance.
voici les scripts:

sript jobs.lua:

TEAM_DISTI = DarkRP.createJob("Distillateur Alcool", {
color = Color(4, 19, 56, 255),
model = {
"models/bloocobalt/splinter cell/chemsuit.mdl",
"models/bloocobalt/splinter cell/chemsuit_cod.mdl",
},
description = [[Vous etes un distillateur d'alcool. Votre but est de faire un maximum d'argent en vendant vos alcools. Vous n'avez pas le droit de printer mais vous
pouvez acheter uniquement un fusil a pompe pour vous defendre si quelqu'un tente de s'introduire dans votre infrastructure.]],
weapons = {"weapon_fists","weapon_arc_atmcard","pocket","keys"},
command = "dst",
max = 5,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
})

ET SRIPT entities.lua:

DarkRP.createEntity("Raisin", {
ent = "wm_grapes",
model = "models/grapes/grapes.mdl",
price = 5,
max = 5,
cmd = "buyrai",
allowed = {TEAM_DISTI},

})

DarkRP.createEntity("Concasseur de raisin", {
ent = "wm_crusher",
model = "models/props_wasteland/laundry_basket001.mdl",
price = 100,
max = 1,
cmd = "buygrapeconca",
allowed = {TEAM_DISTI},

})

DarkRP.createEntity("Orge", {
ent = "am_barley",
model = "models/alcoholmod/barley.mdl",
price = 3,
max = 10,
cmd = "buyorg",
allowed = {TEAM_DISTI},

})

DarkRP.createEntity("Processeur d'orge", {
ent = "am_barleyproc",
model = "models/alcoholmod/barleyproc.mdl",
price = 200,
max = 1,
cmd = "buyprocorg",
allowed = {TEAM_DISTI},

})

DarkRP.createEntity("Chaudière", {
ent = "am_boiler",
model = "models/props_c17/TrapPropeller_Engine.mdl",
price = 300,
max = 1,
cmd = "buychd",
allowed = {TEAM_DISTI},

})

DarkRP.createEntity("Houblon", {
ent = "am_hops",
model = "models/props_lab/cactus.mdl",
price = 5,
max = 10,
cmd = "buyhoubl",
allowed = {TEAM_DISTI},

})

DarkRP.createEntity("Botanique", {
ent = "am_botanical",
model = "models/props/de_inferno/flower_barrel.mdl",
price = 5,
max = 10,
cmd = "buybotan",
allowed = {TEAM_DISTI},

})

DarkRP.createEntity("Spirit neutre", {
ent = "am_neutralspirit",
model = "models/props_wasteland/laundry_basket001.mdl",
price = 20,
max = 10,
cmd = "buyspirt",
allowed = {TEAM_DISTI},

})

DarkRP.createEntity("Pot", {
ent = "am_potstill",
model = "models/gibs/airboat_broken_engine.mdl",
price = 250,
max = 10,
cmd = "buypotstl",
allowed = {TEAM_DISTI},

})

DarkRP.createEntity("Livre d'instructions", {
ent = "am_book",
model = "models/alcoholmod/book.mdl",
price = 10,
max = 5,
cmd = "buylivre",
allowed = {TEAM_DISTI},

})
 
  • Initiateur de la discussion
KMS [FR]

KMS [FR]

Geek
Messages
154
Score réaction
13
Points
65
j'ai trouvé, il suffisait de supprimer ce fichier: sh_alcoholmod.lua
il était dans le fichier de base de l'addon c'est lui qui créait le conflit
 
Dernière édition:
Discord d'entraide
Rejoignz-nous sur Discord