- Initiateur de la discussion
xavier7390
Geek
- Messages
- 90
- Score réaction
- 6
- Points
- 95
Bonjour à toutes et à tous,
Mon problème est le suivant un lua problème se crée lorsque je mets ceci pourtant je le fais via The Codding Beast, je ne comprends pas pourquoi un tel problème arrive j'espere que vos lumieres m'aideront.
DarkRP.createEntity( "Batterie", {
ent = "adrug_battery",
model = "models/items/car_battery01.mdl",
price = 1000,
max = 2,
cmd = "buybattery",
allowed = {TEAM_DEALER},
category = "Weed",
-- CustomCheck
})
DarkRP.createEntity( "Essence", {
ent = "adrug_fuel",
model = "models/props_junk/gascan001a.mdl",
price = 100,
max = 4,
cmd = "buyfuel",
allowed = {TEAM_DEALER},
category = "Weed",
-- CustomCheck
})
DarkRP.createEntity( "Generateur", {
ent = "adrug_generator",
model = "models/props_vehicles/generatortrailer01.mdl",
price = 1500,
max = 1,
cmd = "buygenerator",
allowed = {TEAM_DEALER},
category = "Weed",
-- CustomCheck
})
DarkRP.createEntity( "Lampe ", {
ent = "adrug_heat_lamp",
model = "models/props_c17/light_floodlight02_off.mdl",
price = 500,
max = 2,
cmd = "buylight",
allowed = {TEAM_DEALER},
category = "Weed",
-- CustomCheck
})
DarkRP.createEntity( "Eau", {
ent = "adrug_water",
model = "models/props_junk/garbage_plasticbottle003a.mdl",
price = 50,
max = 5,
cmd = "buywater",
allowed = {TEAM_DEALER},
category = "Weed",
-- CustomCheck
})
DarkRP.createEntity( "Pot ", {
ent = "adrug_weed_plant",
model = "models/props_junk/terracotta01.mdl",
price = 80,
max = 5,
cmd = "buyweedpot",
allowed = {TEAM_DEALER},
category = "Weed",
-- CustomCheck
})
DarkRP.createEntity( "Graine ", {
ent = "adrug_weed_seed",
model = "models/props/de_inferno/crate_fruit_break_gib2.mdl",
price = 20,
max = 6,
cmd = "buygraineweed",
allowed = {TEAM_DEALER},
category = "Weed",
-- CustomCheck
})
end
Mon problème est le suivant un lua problème se crée lorsque je mets ceci pourtant je le fais via The Codding Beast, je ne comprends pas pourquoi un tel problème arrive j'espere que vos lumieres m'aideront.
DarkRP.createEntity( "Batterie", {
ent = "adrug_battery",
model = "models/items/car_battery01.mdl",
price = 1000,
max = 2,
cmd = "buybattery",
allowed = {TEAM_DEALER},
category = "Weed",
-- CustomCheck
})
DarkRP.createEntity( "Essence", {
ent = "adrug_fuel",
model = "models/props_junk/gascan001a.mdl",
price = 100,
max = 4,
cmd = "buyfuel",
allowed = {TEAM_DEALER},
category = "Weed",
-- CustomCheck
})
DarkRP.createEntity( "Generateur", {
ent = "adrug_generator",
model = "models/props_vehicles/generatortrailer01.mdl",
price = 1500,
max = 1,
cmd = "buygenerator",
allowed = {TEAM_DEALER},
category = "Weed",
-- CustomCheck
})
DarkRP.createEntity( "Lampe ", {
ent = "adrug_heat_lamp",
model = "models/props_c17/light_floodlight02_off.mdl",
price = 500,
max = 2,
cmd = "buylight",
allowed = {TEAM_DEALER},
category = "Weed",
-- CustomCheck
})
DarkRP.createEntity( "Eau", {
ent = "adrug_water",
model = "models/props_junk/garbage_plasticbottle003a.mdl",
price = 50,
max = 5,
cmd = "buywater",
allowed = {TEAM_DEALER},
category = "Weed",
-- CustomCheck
})
DarkRP.createEntity( "Pot ", {
ent = "adrug_weed_plant",
model = "models/props_junk/terracotta01.mdl",
price = 80,
max = 5,
cmd = "buyweedpot",
allowed = {TEAM_DEALER},
category = "Weed",
-- CustomCheck
})
DarkRP.createEntity( "Graine ", {
ent = "adrug_weed_seed",
model = "models/props/de_inferno/crate_fruit_break_gib2.mdl",
price = 20,
max = 6,
cmd = "buygraineweed",
allowed = {TEAM_DEALER},
category = "Weed",
-- CustomCheck
})
end