- Initiateur de la discussion
M
MrGogo852
Geek
- Messages
- 27
- Score réaction
- 2
- Points
- 75
Bonjour j'ai une erreur dans mon fichier entities.lua quelq'un peut verifier si il y a problème ? si oui le-quelle.
[ERROR] addons/darkrpmodification-master/lua/darkrp_customthings/entities.lua:34: '}' expected (to close '{' at line 28) near 'allowed' 1. unknown - addons/darkrpmodification-master/lua/darkrp_customthings/entities.lua:0
DarkRP.createEntity("Kart Bucheron", {
ent = "swm_cart",
model = "models/props_wasteland/laundry_cart002.mdl",
price = 500,
max = 2,
cmd = "kartbucheron"
allowed = {TEAM_BUCHERON},
})
DarkRP.createEntity("Auto-CIG 2000", {
ent = "cf_cigarette_machine",
model = "models/props_junk/cardboard_box001a.mdl",
price = 2500,
max = 1,
cmd = "autocig",
allowed = {TEAM_CIGARETTE},
})
DarkRP.createEntity("Engine Upgrade", {
ent = "cf_engine_upgrade",
model = "models/props_junk/cardboard_box001a.mdl",
price = 1000,
max = 1,
cmd = "engineup",
allowed = {TEAM_CIGARETTE},
})
DarkRP.createEntity("Storage Upgrade", {
ent = "cf_storage_upgrade",
model = "models/props_junk/cardboard_box001a.mdl",
price = 1000,
max = 1,
cmd = "storageup",
allowed = {TEAM_CIGARETTE},
})
DarkRP.createEntity("Pack de cigarette vide ", {
ent = "cf_cigarette_pack",
model = "models/props_junk/cardboard_box001a.mdl",
price = 500,
max = 1,
cmd = "packcig",
allowed = {TEAM_CIGARETTE},
})
DarkRP.createEntity("Papier cigarette ", {
ent = "cf_roll_paper",
model = "models/props_junk/cardboard_box001a.mdl",
price = 500,
max = 1,
cmd = "papercig",
allowed = {TEAM_CIGARETTE},
})
DarkRP.createEntity("Tabac", {
ent = "cf_tobacco_pack",
model = "models/props_junk/cardboard_box001a.mdl",
price = 500,
max = 1,
cmd = "papercig",
allowed = {TEAM_CIGARETTE},
})
[ERROR] addons/darkrpmodification-master/lua/darkrp_customthings/entities.lua:34: '}' expected (to close '{' at line 28) near 'allowed' 1. unknown - addons/darkrpmodification-master/lua/darkrp_customthings/entities.lua:0
DarkRP.createEntity("Kart Bucheron", {
ent = "swm_cart",
model = "models/props_wasteland/laundry_cart002.mdl",
price = 500,
max = 2,
cmd = "kartbucheron"
allowed = {TEAM_BUCHERON},
})
DarkRP.createEntity("Auto-CIG 2000", {
ent = "cf_cigarette_machine",
model = "models/props_junk/cardboard_box001a.mdl",
price = 2500,
max = 1,
cmd = "autocig",
allowed = {TEAM_CIGARETTE},
})
DarkRP.createEntity("Engine Upgrade", {
ent = "cf_engine_upgrade",
model = "models/props_junk/cardboard_box001a.mdl",
price = 1000,
max = 1,
cmd = "engineup",
allowed = {TEAM_CIGARETTE},
})
DarkRP.createEntity("Storage Upgrade", {
ent = "cf_storage_upgrade",
model = "models/props_junk/cardboard_box001a.mdl",
price = 1000,
max = 1,
cmd = "storageup",
allowed = {TEAM_CIGARETTE},
})
DarkRP.createEntity("Pack de cigarette vide ", {
ent = "cf_cigarette_pack",
model = "models/props_junk/cardboard_box001a.mdl",
price = 500,
max = 1,
cmd = "packcig",
allowed = {TEAM_CIGARETTE},
})
DarkRP.createEntity("Papier cigarette ", {
ent = "cf_roll_paper",
model = "models/props_junk/cardboard_box001a.mdl",
price = 500,
max = 1,
cmd = "papercig",
allowed = {TEAM_CIGARETTE},
})
DarkRP.createEntity("Tabac", {
ent = "cf_tobacco_pack",
model = "models/props_junk/cardboard_box001a.mdl",
price = 500,
max = 1,
cmd = "papercig",
allowed = {TEAM_CIGARETTE},
})