Le vendeur d'armes ne peux pas vendre les armes (lua erreur)

  • Initiateur de la discussion
L

L'eau ïque

Nouveau né
Messages
28
Score réaction
3
Points
25
Bonjour,

[ERROR] Lua is unable to understand file "darkrp_customthings/shipments.lua" because its author made a mistake around line number 61.
The best help I can give you is this:

There is an opening '{' bracket at line 59, but this bracket is never closed or not closed in time. It was expected to be closed before the 'm9k_amd65' at line 61.

Hints:
- Did you forget a comma?
- All open brackets ({, (, [) must have a matching closing bracket. Are you sure it's there?
- Brackets must be opened and closed in the right order. This will work: ({}), but this won't: ({)}.

------- End of Simplerr error -------

________________________________________________________________________


DarkRP.createShipment("M4A4", {
model = "models/weapons/w_m4.mdl",
entity = "fas2_m4a1",
price = 8500,
amount = 1,
separate = true,
pricesep = 8500,
noship = true,
allowed = {TEAM_GUNDEALER},
category = "Rifles",
})


DarkRP.createShipment("Desert Eagle", {
model = "models/weapons/w_m4.mdl",
entity = "fas2_deagle",
price = 2500,
amount = 1,
separate = true,
pricesep = 2500,
noship = true,
allowed = {TEAM_GUNDEALER},
category = "Pistols",
})


DarkRP.createShipment("GLOCK-20", {
model = "models/weapons/w_m4.mdl",
entity = "fas2_glock20",
price = 2000,
amount = 1,
separate = true,
pricesep = 2000,
noship = true,
allowed = {TEAM_GUNDEALER},
category = "Pistols",
})


DarkRP.createShipment("IMI Uzi", {
model = "models/weapons/w_smg_mp5.mdl",
entity = "fas2_uzi",
price = 5000,
amount = 1,
seperate = false,
pricesep = 5000,
noship = true,
allowed = {TEAM_GUNDEALER}
category = "Rifles",
})


DarkRP.createShipment("MP5A5", {
model = "models/weapons/w_smg_mp5.mdl",
entity = "fas2_mp5a5",
price = 5500,
amount = 1,
seperate = false,
pricesep = 5500,
noship = true,
allowed = {TEAM_GUNDEALER}
category = "Rifles",
})



DarkRP.createShipment("OTs-33 Pernach", {
model = "models/weapons/world/pistols/ots33.mdl",
entity = "fas2_ots33",
price = 1100,
amount = 10,
seperate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUNDEALER}
category = "Pistols",
})


DarkRP.createShipment("AK47", {
model = "models/weapons/w_tct_ak47.mdl",
entity = "m9k_ak47",
price = 8500,
amount = 1,
separate = false,
pricesep = 8500,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Rifles",
})


DarkRP.createShipment("SCAR", {
model = "models/weapons/w_fn_scar_h.mdl",
entity = "m9k_scar",
price = 10000,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Rifles",
})


DarkRP.createShipment("FAMAS", {
model = "models/weapons/w_tct_famas.mdl",
entity = "m9k_famas",
price = 7500,
amount = 1,
separate = false,
pricesep = 7500,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Rifles",
})


DarkRP.createShipment("MOSSBERG590", {
model = "models/weapons/w_mossberg_590.mdl",
entity = "m9k_mossberg590",
price = 6500,
amount = 1,
separate = false,
pricesep = 6500,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Rifles",
})


DarkRP.createShipment("REMINGTON870", {
model = "models/weapons/w_remington_7615p.mdl",
entity = "m9k_remington870",
price = 7500,
amount = 1,
separate = false,
pricesep = 7500,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Shotgun",
})



DarkRP.createShipment("ACR", {
model = "models/weapons/w_masada_acr.mdl",
entity = "m9k_acr",
price = 7500,
amount = 1,
separate = false,
pricesep = 7500,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Rifles",
})



DarkRP.createShipment("M416", {
model = "models/weapons/w_hk_416.mdl",
entity = "m9k_m416",
price = 6000,
amount = 1,
separate = false,
pricesep = 6000,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Rifles",
})



DarkRP.createShipment("M9K", {
model = "models/weapons/w_dmg_m16ag.mdl",
entity = "m9k_m416",
price = 6000,
amount = 1,
separate = false,
pricesep = 6000,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Rifles",
})



DarkRP.createShipment("FN FAL", {
model = "models/weapons/w_fn_fal.mdl",
entity = "m9k_fal",
price = 6000,
amount = 1,
separate = false,
pricesep = 6000,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Rifles",
})



DarkRP.createShipment("1887 Winchester", {
model = "models/weapons/w_winchester_1887.mdl",
entity = "m9k_1887winchester",
price = 6000,
amount = 1,
separate = false,
pricesep = 6000,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Shotgun",
})



DarkRP.createShipment("Double Barrel", {
model = "models/weapons/w_double_barrel_shotgun.mdl",
entity = "m9k_dbarrel",
price = 15000,
amount = 1,
separate = false,
pricesep = 15000,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Shotgun",
})



DarkRP.createShipment("JackHamer", {
model = "models/weapons/w_pancor_jackhammer.mdl",
entity = "m9k_jackhammer",
price = 15000,
amount = 1,
separate = false,
pricesep = 15000,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Shotgun",
})



DarkRP.createShipment("Benelli", {
model = "models/weapons/w_benelli_m3.mdl",
entity = "m9k_m3",
price = 8500,
amount = 1,
separate = false,
pricesep = 8500,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Shotgun",
})


DarkRP.createShipment("SVD Dragunov Single", {
model = "models/weapons/w_svd_dragunov.mdl",
entity = "m9k_dragunov",
price = 12000,
amount = 1,
separate = false,
pricesep = 12000,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Sniper Rifles",
})


DarkRP.createShipment("Intervention", {
model = "models/weapons/w_snp_int.mdl",
entity = "m9k_intervention",
price = 12000,
amount = 1,
separate = false,
pricesep = 12000,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Sniper Rifles",
})



DarkRP.createShipment("Dragunov SVU", {
model = "models/weapons/w_dragunov_svu.mdl",
entity = "m9k_svu",
price = 16000,
amount = 1,
separate = false,
pricesep = 16000,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Sniper Rifles",
})


DarkRP.createShipment("AWP", {
model = "models/weapons/w_snip_awp.mdl",
entity = "weapon_mad_awp",
price = 20000,
amount = 1,
separate = false,
pricesep = 20000,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Sniper Rifles",
})


DarkRP.createShipment("MINI GUN", {
model = "models/weapons/w_m134_minigun.mdl",
entity = "m9k_minigun",
price = 100000,
amount = 1,
separate = false,
pricesep = 100000,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Machine Guns",
})

________________________________________________________________________

Voila se qui arrive et je n'arrive donc pas a vendre d'arme.
 
T

Tatares

Nouveau né
Messages
16
Score réaction
1
Points
25
Salut L'eau ïque,

Pourquoi as-tu 2 fois le même entity sur deux armes complètement différente? (entity = "m9k_m416) Est-ce fait exprès ou non?


DarkRP.createShipment("M416", {
model = "models/weapons/w_hk_416.mdl",
entity = "m9k_m416",
price = 6000,
amount = 1,
separate = false,
pricesep = 6000,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Rifles",
})



DarkRP.createShipment("M9K", {
model = "models/weapons/w_dmg_m16ag.mdl",
entity = "m9k_m416",
price = 6000,
amount = 1,
separate = false,
pricesep = 6000,
noship = false,
allowed = {TEAM_GUNDEALER},
shipmodel = "models/items/item_item_crate.mdl",
category = "Rifles",
})
 
Discord d'entraide
Rejoignz-nous sur Discord