Problème Codage de mon Serveur gmod

  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
Bonjour voila j'explique mon problème quand je me connecte dans mon serveur mon playermodel et moche il est en noir est blanc
et dans la console sa me marque ceci :
[ERROR] Lua is unable to understand file "darkrp_customthings/categories.lua" because its author made a mistake around line number 30.
The best help I can give you is this:

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

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 -------

Voici mon codage

DarkRP.createCategory{
name = "Mitrallette",
categorises = "shipments",
startExpanded = true,
color = Color(0, 0, 0, 255),
TEAM_CIVIL, TEAM_POLICE, TEAM_COMMISSAIRE, TEAM_BRI, TEAM_CHEFBRI, TEAM_MAIRE, TEAM_SECRETAIRE, TEAM_SCU, TEAM_SCU, TEAM_TUEUR, TEAM_CRIPZ, TEAM_CHEFCRIPZ, TEAM_BLOODZ, TEAM_CHEFBLOODZ, TEAM_MAFIA, TEAM_CHEFMAFIA, TEAM_YAKUZA, TEAM_CHEFYAKUZA, TEAM_SAMU, TEAM_GUNEX
sortOrder = 2
}
et quand je règle le problème ça ça créer un deuxième problème que la je c'est pas comment régler voici l'error

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

Right before the '=', Lua encountered something it could not make sense of.

Hints:
- Did you forget something here? (Perhaps a closing bracket)
- Is it a typo?

------- End of Simplerr error -------
d’ailleurs ça me fait pareille pour les shipment mais pour les shipment il y a des codage qui fonctionne et d'autre non
alors je c'est pas si c'est mon codage qui est merdique mais...
alors je demande votre aide car la je suis perdu
Merci
 
Dernière édition:
Kitsu

Kitsu

Chuck Norris
Messages
6 076
Score réaction
2 505
Points
740
lumioxe à dit:
Bonjour voila j'explique mon problème quand je me connecte dans mon serveur mon playermodel et moche il est en noir est blanc
et dans la console sa me marque ceci :
[ERROR] Lua is unable to understand file "darkrp_customthings/categories.lua" because its author made a mistake around line number 30.
The best help I can give you is this:

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

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 -------

Voici mon codage

DarkRP.createCategory{
name = "Mitrallette",
categorises = "shipments",
startExpanded = true,
color = Color(0, 0, 0, 255),
TEAM_CIVIL, TEAM_POLICE, TEAM_COMMISSAIRE, TEAM_BRI, TEAM_CHEFBRI, TEAM_MAIRE, TEAM_SECRETAIRE, TEAM_SCU, TEAM_SCU, TEAM_TUEUR, TEAM_CRIPZ, TEAM_CHEFCRIPZ, TEAM_BLOODZ, TEAM_CHEFBLOODZ, TEAM_MAFIA, TEAM_CHEFMAFIA, TEAM_YAKUZA, TEAM_CHEFYAKUZA, TEAM_SAMU, TEAM_GUNEX
sortOrder = 2
}
et quand je règle le problème sa créer un deuxième problème que la je c'est pas comment régler voici l'error

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

Right before the '=', Lua encountered something it could not make sense of.

Hints:
- Did you forget something here? (Perhaps a closing bracket)
- Is it a typo?

------- End of Simplerr error -------
d’ailleurs sa me fait pareille pour les shipment mais pour les shipment il y a des codage qui fonctionne et d'autre non
alors je c'est pas si c'est mon codage qui est merdique mais...
alors je demande votre aide car la je suis perdu
Merci
c'est que tu as une error dans ton fichier categories dans le darkrp modification en fait montre nous tes categories
 
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
--[[-----------------------------------------------------------------------
Categories
---------------------------------------------------------------------------
The categories of the default F4 menu.

Please read this page for more information:
http://wiki.darkrp.com/index.php/DarkRP:Categories

In case that page can't be reached, here's an example with explanation:

DarkRP.createCategory{
name = "Citizens", -- The name of the category.
categorises = "jobs", -- What it categorises. MUST be one of "jobs", "entities", "shipments", "weapons", "vehicles", "ammo".
startExpanded = true, -- Whether the category is expanded when you open the F4 menu.
color = Color(0, 107, 0, 255), -- The color of the category header.
canSee = function(ply) return true end, -- OPTIONAL: whether the player can see this category AND EVERYTHING IN IT.
sortOrder = 100, -- OPTIONAL: With this you can decide where your category is. Low numbers to put it on top, high numbers to put it on the bottom. It's 100 by default.
}


Add new categories under the next line!
---------------------------------------------------------------------------]]

DarkRP.createCategory{}
name = "Mitrallette",
categorises = "shipments",
startExpanded = true,
color = Color(0, 0, 0, 255),
TEAM_CIVIL, TEAM_POLICE, TEAM_COMMISSAIRE, TEAM_BRI, TEAM_CHEFBRI, TEAM_MAIRE, TEAM_SECRETAIRE, TEAM_SCU, TEAM_SCU, TEAM_TUEUR, TEAM_CRIPZ, TEAM_CHEFCRIPZ, TEAM_BLOODZ, TEAM_CHEFBLOODZ, TEAM_MAFIA, TEAM_CHEFMAFIA, TEAM_YAKUZA, TEAM_CHEFYAKUZA, TEAM_SAMU, TEAM_GUNEX
sortOrder = 2
}
DarkRP.createCategory{
name = "Fusil D'assault",
categorises = "shipments",
startExpanded = true,
color = Color(0, 0, 0, 255),
TEAM_CIVIL, TEAM_POLICE, TEAM_COMMISSAIRE, TEAM_BRI, TEAM_CHEFBRI, TEAM_MAIRE, TEAM_SECRETAIRE, TEAM_SCU, TEAM_SCU, TEAM_TUEUR, TEAM_CRIPZ, TEAM_CHEFCRIPZ, TEAM_BLOODZ, TEAM_CHEFBLOODZ, TEAM_MAFIA, TEAM_CHEFMAFIA, TEAM_YAKUZA, TEAM_CHEFYAKUZA, TEAM_SAMU, TEAM_GUNEX
sortOrder = 3
}
DarkRP.createCategory{
name = "Machinegun",
categorises = "shipments",
startExpanded = true,
color = Color(0, 0, 0, 255),
TEAM_CIVIL, TEAM_POLICE, TEAM_COMMISSAIRE, TEAM_BRI, TEAM_CHEFBRI, TEAM_MAIRE, TEAM_SECRETAIRE, TEAM_SCU, TEAM_SCU, TEAM_TUEUR, TEAM_CRIPZ, TEAM_CHEFCRIPZ, TEAM_BLOODZ, TEAM_CHEFBLOODZ, TEAM_MAFIA, TEAM_CHEFMAFIA, TEAM_YAKUZA, TEAM_CHEFYAKUZA, TEAM_SAMU, TEAM_GUNEX
sortOrder = 4
}
DarkRP.createCategory{
name = "SNIPER",
categorises = "shipments",
startExpanded = true,
color = Color(0, 0, 0, 255),
TEAM_CIVIL, TEAM_POLICE, TEAM_COMMISSAIRE, TEAM_BRI, TEAM_CHEFBRI, TEAM_MAIRE, TEAM_SECRETAIRE, TEAM_SCU, TEAM_SCU, TEAM_TUEUR, TEAM_CRIPZ, TEAM_CHEFCRIPZ, TEAM_BLOODZ, TEAM_CHEFBLOODZ, TEAM_MAFIA, TEAM_CHEFMAFIA, TEAM_YAKUZA, TEAM_CHEFYAKUZA, TEAM_SAMU, TEAM_GUNEX
sortOrder = 5
}
DarkRP.createCategory{
name = "Lance Grenade",
categorises = "shipments",
startExpanded = true,
color = Color(0, 0, 0, 255),
TEAM_CIVIL, TEAM_POLICE, TEAM_COMMISSAIRE, TEAM_BRI, TEAM_CHEFBRI, TEAM_MAIRE, TEAM_SECRETAIRE, TEAM_SCU, TEAM_SCU, TEAM_TUEUR, TEAM_CRIPZ, TEAM_CHEFCRIPZ, TEAM_BLOODZ, TEAM_CHEFBLOODZ, TEAM_MAFIA, TEAM_CHEFMAFIA, TEAM_YAKUZA, TEAM_CHEFYAKUZA, TEAM_SAMU, TEAM_GUNEX
sortOrder = 6
}
DarkRP.createCategory{
name = "Grenade",
categorises = "shipments",
startExpanded = true,
color = Color(0, 0, 0, 255),
TEAM_CIVIL, TEAM_POLICE, TEAM_COMMISSAIRE, TEAM_BRI, TEAM_CHEFBRI, TEAM_MAIRE, TEAM_SECRETAIRE, TEAM_SCU, TEAM_SCU, TEAM_TUEUR, TEAM_CRIPZ, TEAM_CHEFCRIPZ, TEAM_BLOODZ, TEAM_CHEFBLOODZ, TEAM_MAFIA, TEAM_CHEFMAFIA, TEAM_YAKUZA, TEAM_CHEFYAKUZA, TEAM_SAMU, TEAM_GUNEX
sortOrder = 7
}
DarkRP.createCategory{
name = "Lance Rokette",
categorises = "shipments",
startExpanded = true,
color = Color(0, 0, 0, 255),
TEAM_CIVIL, TEAM_POLICE, TEAM_COMMISSAIRE, TEAM_BRI, TEAM_CHEFBRI, TEAM_MAIRE, TEAM_SECRETAIRE, TEAM_SCU, TEAM_SCU, TEAM_TUEUR, TEAM_CRIPZ, TEAM_CHEFCRIPZ, TEAM_BLOODZ, TEAM_CHEFBLOODZ, TEAM_MAFIA, TEAM_CHEFMAFIA, TEAM_YAKUZA, TEAM_CHEFYAKUZA, TEAM_SAMU, TEAM_GUNEX
sortOrder = 8
}
 
Gauthier Plus

Gauthier Plus

Geek suprême
Messages
717
Score réaction
310
Points
180
lumioxe à dit:
DarkRP.createCategory{}
Mets plutôt ça ( pour la catégorie "mitrailette" ) :
Code:
DarkRP.createCategory{
 
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
Gauthier Plus à dit:
Mets plutôt ça ( pour la catégorie "mitrailette" ) :
Code:
DarkRP.createCategory{
enfaîte le truc c'est que au début c’était comme ça et ça marcher déjà pas la je vais essayer et je redit quoi
 
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
Gauthier Plus à dit:
Mets plutôt ça ( pour la catégorie "mitrailette" ) :
Code:
DarkRP.createCategory{
ça n'as rien changer ça marque toujours
There is an opening '{' bracket at line 24, but this bracket is never closed or not closed in time. It was expected to be closed before the 'sortOrder' at line 30.
 
Gauthier Plus

Gauthier Plus

Geek suprême
Messages
717
Score réaction
310
Points
180
lumioxe à dit:
enfaîte le truc c'est que au début c’était comme ça et ça marcher déjà pas la je vais essayer et je redit quoi
Att autant pour moi ce n'est pas ça le problème, pourquoi tu as mis tes TEAM_XXXX comme ça ? Mets ça pour que gmod comprenne ce qu'il veut que tu fasses des TEAM

Code:
 canSee = function(ply) return table.HasValue({TEAM_CIVIL, TEAM_POLICE, TEAM_COMMISSAIRE, TEAM_BRI, TEAM_CHEFBRI, TEAM_MAIRE, TEAM_SECRETAIRE, TEAM_SCU, TEAM_SCU, TEAM_TUEUR, TEAM_CRIPZ, TEAM_CHEFCRIPZ, TEAM_BLOODZ, TEAM_CHEFBLOODZ, TEAM_MAFIA, TEAM_CHEFMAFIA, TEAM_YAKUZA, TEAM_CHEFYAKUZA, TEAM_SAMU, TEAM_GUNEX}, ply:Team()) end,
 
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
Gauthier Plus à dit:
Att autant pour moi ce n'est pas ça le problème, pourquoi tu as mis tes TEAM_XXXX comme ça ? Mets ça pour que gmod comprenne ce qu'il veut que tu fasses des TEAM

Code:
 canSee = function(ply) return table.HasValue({TEAM_CIVIL, TEAM_POLICE, TEAM_COMMISSAIRE, TEAM_BRI, TEAM_CHEFBRI, TEAM_MAIRE, TEAM_SECRETAIRE, TEAM_SCU, TEAM_SCU, TEAM_TUEUR, TEAM_CRIPZ, TEAM_CHEFCRIPZ, TEAM_BLOODZ, TEAM_CHEFBLOODZ, TEAM_MAFIA, TEAM_CHEFMAFIA, TEAM_YAKUZA, TEAM_CHEFYAKUZA, TEAM_SAMU, TEAM_GUNEX}, ply:Team()) end,
ok je vais essayer
 
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
Gauthier Plus à dit:
Att autant pour moi ce n'est pas ça le problème, pourquoi tu as mis tes TEAM_XXXX comme ça ? Mets ça pour que gmod comprenne ce qu'il veut que tu fasses des TEAM

Code:
 canSee = function(ply) return table.HasValue({TEAM_CIVIL, TEAM_POLICE, TEAM_COMMISSAIRE, TEAM_BRI, TEAM_CHEFBRI, TEAM_MAIRE, TEAM_SECRETAIRE, TEAM_SCU, TEAM_SCU, TEAM_TUEUR, TEAM_CRIPZ, TEAM_CHEFCRIPZ, TEAM_BLOODZ, TEAM_CHEFBLOODZ, TEAM_MAFIA, TEAM_CHEFMAFIA, TEAM_YAKUZA, TEAM_CHEFYAKUZA, TEAM_SAMU, TEAM_GUNEX}, ply:Team()) end,
ok ça a marcher pour le premier je vais essayer avec les autre et je redit quoi
 
Gauthier Plus

Gauthier Plus

Geek suprême
Messages
717
Score réaction
310
Points
180
lumioxe à dit:
ok ça a marcher pour le premier je vais essayer avec les autre et je redit quoi
Yes évidemment il faut faire cela pour l'ensemble des catégories
 
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
Gauthier Plus à dit:
Yes évidemment il faut faire cela pour l'ensemble des catégories
ok ça marche mais j'ai un problème avec les shipment je peut le mentionner ? c'est un peut près le même
 
Gauthier Plus

Gauthier Plus

Geek suprême
Messages
717
Score réaction
310
Points
180
lumioxe à dit:
ok ça marche mais j'ai un problème avec les shipment je peut le mentionner ? c'est un peut près le même
Oui dit moi ?
 
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
Gauthier Plus à dit:
Oui dit moi ?
att il faut que je reboot le serve car j'avais enlever les shipment le temps que je trouve la solution
 
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
Gauthier Plus à dit:
Oui dit moi ?
bon voila dsl d'avoir mis du temps voila l'erreur que ça me fait
Please check your console for more information!
[ERROR] Lua is unable to understand file "darkrp_customthings/shipments.lua" because its author made a mistake around line number 133.
The best help I can give you is this:

There is an opening '(' bracket at line 132, but this bracket is never closed or not closed in time. It was expected to be closed before the 'model' at line 133.

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 -------

et voici mon codage
DarkRP.createShipment("Colt-1911", {
model = "models/weapons/w_1911.mdl",
entity = "fas2_m1911",
amount = 1,
price = 1500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Glock 18", {
model = "models/weapons/w_dmg_glock.mdl",
entity = "m9k_glock",
amount = 1,
price = 1950,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Glock 20", {
model = "models/weapons/w_dmg_glock.mdl",
entity = "fas2_glock20",
amount = 1,
price = 1550,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("HK45C", {
model = "models/weapons/w_hk45c.mdl",
entity = "m9k_hk45",
amount = 1,
price = 1600,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("HK-USP", {
model = "models/weapons/w_pist_fokkususp.mdl",
entity = "m9k_usp",
amount = 1,
price = 1500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"

})
DarkRP.createShipment("M92 Beretta", {
model = "models/weapons/w_beretta_m92.mdl",
entity = "m9k_m92beretta",
amount = 1,
price = 1700,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M1911", {
model = "models/weapons/s_dmgf_co1911.mdl",
entity = "m9k_colt1911",
amount = 1,
price = 1200,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("MR96 CW", {
model = "models/cw2/pistols/mr96.mdl",
entity = "cw_mr96",
amount = 1,
price = 1500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("P08 Luger", {
model = "models/weapons/w_luger_p08.mdl",
entity = "m9k_luger",
amount = 1,
price = 1500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("P226", {
model = "models/weapons/world/pistols/ots33.mdl",
entity = "fas2_p226",
amount = 1,
price = 1500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Raging Bull FA:S", {
model = "models/weapons/w_remington_1858.mdl",
entity = "fas2_ragingbull",
amount = 1,
price = 2300,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Remington 1858", {
model = "models/weapons/w_remington_1858.mdl",
entity = "m9k_remington1858",
amount = 1,
price = 1500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("S&W-Model-500", {
model = "models/weapons/w_sw_model_500.mdl",
entity = "m9k_model500",
amount = 1,
price = 2350,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("S&W-Model-627", {}
model = "models/weapons/w_sw_model_627.mdl",
entity = "m9k_model627",
amount = 1,
price = 2350
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("AAC Honey Badger", {
model = "models/weapons/w_aac_honeybadger.mdl",
entity = "m9k_honeybadger",
amount = 1,
price = 3200,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Bizon PP19", {
model = "models/weapons/w_pp19_bizon.mdl",
entity = "m9k_bizonp19",
amount = 1,
price = 3900,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("FN-P90", {
model = "models/weapons/w_fn_p90.mdl",
entity = "m9k_smgp90",
amount = 1,
price = 3400,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("HK-MP5K", {
model = "models/weapons/w_hk_mp5.mdll",
entity = "m9k_mp5",
amount = 1,
price = 3500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("HK-MP7", {
model = "models/weapons/w_mp7_silenced.mdl",
entity = "m9k_mp7",
amount = 1,
price = 3200,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("HK-UMP45", {
model = "models/weapons/w_hk_ump45.mdl",
entity = "m9k_ump45",
amount = 1,
price = 3700,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("HK-USC", {
model = "models/weapons/w_hk_usc.mdl",
entity = "m9k_usc",
amount = 1,
price = 3750,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("UZI", {
model = "models/weapons/w_uzi_imi.mdl",
entity = "fas2_uzi",
amount = 1,
price = 2800,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("KAC PDW", {
model = "models/weapons/w_kac_pdw.mdl",
entity = "m9k_kac_pdw",
amount = 1,
price = 3800,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("KRISS-Vector", {
model = "models/weapons/w_kriss_vector.mdl",
entity = "m9k_vector",
amount = 1,
price = 3900,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M5A5", {
model = "models/weapons/w_smg_mp5.mdl",
entity = "fas2_mp5a5",
amount = 1,
price = 3600,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("MP9", {
model = "models/weapons/w_brugger_thomet_mp9.mdl",
entity = "m9k_mp9",
amount = 1,
price = 3350,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("MP40", {
model = "models/weapons/w_mp40smg.mdl",
entity = "m9k_mp40",
amount = 1,
price = 3800,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Tommy Gun", {
model = "models/weapons/w_tommy_gun.mdl",
entity = "m9k_thompson",
amount = 1,
price = 3999,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("ACR", {
model = "models/weapons/w_masada_acr.mdl",
entity = "m9k_acr",
amount = 1,
price = 5000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Ak-47", {
model = "models/weapons/w_ak47_m9k.mdl",
entity = "m9k_ak47",
amount = 1,
price = 6500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("74", {
model = "models/weapons/w_tct_ak47.mdl",
entity = "fas2_ak74",
amount = 1,
price = 6200,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("AN-94", {
model = "models/weapons/world/rifles/an94.mdl",
entity = "fas2_an94",
amount = 1,
price = 6400,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("FAMAS", {
model = "models/weapons/w_famas.mdl",
entity = "fas2_famas",
amount = 1,
price = 5899,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("G3A3", {
model = "models/weapons/w_hk_g3.mdl",
entity = "fas2_g3",
amount = 1,
price = 6100,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("HK 416", {
model = "models/weapons/w_hk_416.mdl",
entity = "m9k_m416",
amount = 1,
price = 6800,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M4A1", {
model = ""models/weapons/w_m4.mdl",
entity = "fas2_m4a1",
amount = 1,
price = 6700,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Sako RK 95", {
model = "models/weapons/w_dmg_vikhr.mdl",
entity = "fas2_rk95",
amount = 1,
price = 6300,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("SG-552", {
model = "models/weapons/view/rifles/sg550.mdl",
entity = "fas2_sg552",
amount = 1,
price = 6650,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Ares Shtrike", {
model = "models/weapons/w_ares_shrike.mdl",
entity = "m9k_ares_shrike",
amount = 1,
price = 55000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("BAR M1918", {
model = "models/weapons/w_m1918_bar.mdl",
entity = "m9k_m1918bar",
amount = 1,
price = 90000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("FG 42", {
model = "models/weapons/w_m1918_bar.mdl",
entity = "m9k_fg42",
amount = 1,
price = 17000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M60", {
model = "models/weapons/w_m60_machine_gun.mdl",
entity = "fas2_m60e3",
amount = 1,
price = 125000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M249", {
model = "models/weapons/w_m249.mdl",
entity = "fas2_m249",
amount = 1,
price = 115000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("MC51B-Vollmer", {
model = "models/weapons/w_mc51.mdl",
entity = "fas2_vollmer",
amount = 1,
price = 60000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("MINIMI", {
model = "models/weapons/w_m249.mdl",
entity = "fas2_minimi",
amount = 1,
price = 120000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("AI-AW50", {
model = "models/weapons/w_acc_int_aw50.mdl",
entity = "m9k_aw50",
amount = 1,
price = 50000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Barret M82", {
model = "models/weapons/w_barret_m82.mdl",
entity = "m9k_barret_m82",
amount = 1,
price = 35000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Barret M98", {
model = "models/weapons/w_barrett_m98b.mdl",
entity = "m9k_m98b",
amount = 1,
price = 30000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Dragunov SVD"", {
model = "models/weapons/w_dragunov_svu.mdl",
entity = "m9k_svu",
amount = 1,
price = 26000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Dragunov SVD", {
model = "models/weapons/w_dragunov_svu.mdl",
entity = "m9k_svu",
amount = 1,
price = 26000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Intervention", {
model = "models/weapons/w_snip_int.mdl",
entity = "m9k_intervention",
amount = 1,
price = 45000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M21", {
model = "models/weapons/view/support/m21.mdl",
entity = "fas2_m21",
amount = 1,
price = 32000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M24", {
model = "models/weapons/w_snip_m24_6.mdl",
entity = "fas2_m24",
amount = 1,
price = 44000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M24 M9K", {
model = "models/weapons/w_snip_m24_6.mdl",
entity = "m9k_m24",
amount = 1,
price = 44000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M82", {
model = "models/weapons/w_m82.mdl",
entity = "fas2_m82",
amount = 1,
price = 75000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("SR 25", {
model = "models/weapons/view/support/sr25.mdl",
entity = "fas2_sr25",
amount = 1,
price = 85000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Contender", {
model = "models/weapons/w_g2_contender.mdl",
entity = "m9k_contender",
amount = 1,
price = 100000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("MINIGUN", {
model = "models/weapons/w_m134_minigun.mdl",
entity = "m9k_minigun",
amount = 1,
price = 10000000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("EX41", {
model = "models/weapons/w_ex41.mdl",
entity = "m9k_ex41",
amount = 1,
price = 2550000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Flash", {
model = "models/weapons/w_cw_fraggrenade_thrown.mdl",
entity = "cw_flash_grenade",
amount = 1,
price = 5000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Grenade", {
model = "models/weapons/w_cw_fraggrenade_thrown.mdl",
entity = "cw_frag_grenade",
amount = 1,
price = 2500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("12 M67", {
model = "models/weapons/w_cw_fraggrenade_thrown.mdl",
entity = "fas2_m67",
amount = 1,
price = 30000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M79", {
model = "models/weapons/w_m79_grenadelauncher.mdl",
entity = "fas2_m79",
amount = 1,
price = 80000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Mikor", {
model = "models/weapons/w_m79_grenadelauncher.mdl",
entity = "m9k_milkormgl",
amount = 1,
price = 260000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("RPG7", {
model = "models/weapons/w_m79_grenadelauncher.mdl",
entity = "m9k_rpg7",
amount = 1,
price = 450000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("C4", {
model = "odels/weapons/w_sb_planted.mdl",
entity = "m9k_suicide_bomb",
amount = 1,
price = 650000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
 
Gauthier Plus

Gauthier Plus

Geek suprême
Messages
717
Score réaction
310
Points
180
lumioxe à dit:
bon voila dsl d'avoir mis du temps voila l'erreur que ça me fait
Please check your console for more information!
[ERROR] Lua is unable to understand file "darkrp_customthings/shipments.lua" because its author made a mistake around line number 133.
The best help I can give you is this:

There is an opening '(' bracket at line 132, but this bracket is never closed or not closed in time. It was expected to be closed before the 'model' at line 133.

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 -------

et voici mon codage
DarkRP.createShipment("Colt-1911", {
model = "models/weapons/w_1911.mdl",
entity = "fas2_m1911",
amount = 1,
price = 1500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Glock 18", {
model = "models/weapons/w_dmg_glock.mdl",
entity = "m9k_glock",
amount = 1,
price = 1950,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Glock 20", {
model = "models/weapons/w_dmg_glock.mdl",
entity = "fas2_glock20",
amount = 1,
price = 1550,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("HK45C", {
model = "models/weapons/w_hk45c.mdl",
entity = "m9k_hk45",
amount = 1,
price = 1600,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("HK-USP", {
model = "models/weapons/w_pist_fokkususp.mdl",
entity = "m9k_usp",
amount = 1,
price = 1500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"

})
DarkRP.createShipment("M92 Beretta", {
model = "models/weapons/w_beretta_m92.mdl",
entity = "m9k_m92beretta",
amount = 1,
price = 1700,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M1911", {
model = "models/weapons/s_dmgf_co1911.mdl",
entity = "m9k_colt1911",
amount = 1,
price = 1200,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("MR96 CW", {
model = "models/cw2/pistols/mr96.mdl",
entity = "cw_mr96",
amount = 1,
price = 1500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("P08 Luger", {
model = "models/weapons/w_luger_p08.mdl",
entity = "m9k_luger",
amount = 1,
price = 1500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("P226", {
model = "models/weapons/world/pistols/ots33.mdl",
entity = "fas2_p226",
amount = 1,
price = 1500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Raging Bull FA:S", {
model = "models/weapons/w_remington_1858.mdl",
entity = "fas2_ragingbull",
amount = 1,
price = 2300,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Remington 1858", {
model = "models/weapons/w_remington_1858.mdl",
entity = "m9k_remington1858",
amount = 1,
price = 1500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("S&W-Model-500", {
model = "models/weapons/w_sw_model_500.mdl",
entity = "m9k_model500",
amount = 1,
price = 2350,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("S&W-Model-627", {}
model = "models/weapons/w_sw_model_627.mdl",
entity = "m9k_model627",
amount = 1,
price = 2350
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("AAC Honey Badger", {
model = "models/weapons/w_aac_honeybadger.mdl",
entity = "m9k_honeybadger",
amount = 1,
price = 3200,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Bizon PP19", {
model = "models/weapons/w_pp19_bizon.mdl",
entity = "m9k_bizonp19",
amount = 1,
price = 3900,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("FN-P90", {
model = "models/weapons/w_fn_p90.mdl",
entity = "m9k_smgp90",
amount = 1,
price = 3400,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("HK-MP5K", {
model = "models/weapons/w_hk_mp5.mdll",
entity = "m9k_mp5",
amount = 1,
price = 3500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("HK-MP7", {
model = "models/weapons/w_mp7_silenced.mdl",
entity = "m9k_mp7",
amount = 1,
price = 3200,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("HK-UMP45", {
model = "models/weapons/w_hk_ump45.mdl",
entity = "m9k_ump45",
amount = 1,
price = 3700,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("HK-USC", {
model = "models/weapons/w_hk_usc.mdl",
entity = "m9k_usc",
amount = 1,
price = 3750,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("UZI", {
model = "models/weapons/w_uzi_imi.mdl",
entity = "fas2_uzi",
amount = 1,
price = 2800,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("KAC PDW", {
model = "models/weapons/w_kac_pdw.mdl",
entity = "m9k_kac_pdw",
amount = 1,
price = 3800,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("KRISS-Vector", {
model = "models/weapons/w_kriss_vector.mdl",
entity = "m9k_vector",
amount = 1,
price = 3900,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M5A5", {
model = "models/weapons/w_smg_mp5.mdl",
entity = "fas2_mp5a5",
amount = 1,
price = 3600,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("MP9", {
model = "models/weapons/w_brugger_thomet_mp9.mdl",
entity = "m9k_mp9",
amount = 1,
price = 3350,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("MP40", {
model = "models/weapons/w_mp40smg.mdl",
entity = "m9k_mp40",
amount = 1,
price = 3800,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Tommy Gun", {
model = "models/weapons/w_tommy_gun.mdl",
entity = "m9k_thompson",
amount = 1,
price = 3999,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("ACR", {
model = "models/weapons/w_masada_acr.mdl",
entity = "m9k_acr",
amount = 1,
price = 5000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Ak-47", {
model = "models/weapons/w_ak47_m9k.mdl",
entity = "m9k_ak47",
amount = 1,
price = 6500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("74", {
model = "models/weapons/w_tct_ak47.mdl",
entity = "fas2_ak74",
amount = 1,
price = 6200,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("AN-94", {
model = "models/weapons/world/rifles/an94.mdl",
entity = "fas2_an94",
amount = 1,
price = 6400,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("FAMAS", {
model = "models/weapons/w_famas.mdl",
entity = "fas2_famas",
amount = 1,
price = 5899,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("G3A3", {
model = "models/weapons/w_hk_g3.mdl",
entity = "fas2_g3",
amount = 1,
price = 6100,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("HK 416", {
model = "models/weapons/w_hk_416.mdl",
entity = "m9k_m416",
amount = 1,
price = 6800,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M4A1", {
model = ""models/weapons/w_m4.mdl",
entity = "fas2_m4a1",
amount = 1,
price = 6700,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Sako RK 95", {
model = "models/weapons/w_dmg_vikhr.mdl",
entity = "fas2_rk95",
amount = 1,
price = 6300,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("SG-552", {
model = "models/weapons/view/rifles/sg550.mdl",
entity = "fas2_sg552",
amount = 1,
price = 6650,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Ares Shtrike", {
model = "models/weapons/w_ares_shrike.mdl",
entity = "m9k_ares_shrike",
amount = 1,
price = 55000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("BAR M1918", {
model = "models/weapons/w_m1918_bar.mdl",
entity = "m9k_m1918bar",
amount = 1,
price = 90000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("FG 42", {
model = "models/weapons/w_m1918_bar.mdl",
entity = "m9k_fg42",
amount = 1,
price = 17000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M60", {
model = "models/weapons/w_m60_machine_gun.mdl",
entity = "fas2_m60e3",
amount = 1,
price = 125000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M249", {
model = "models/weapons/w_m249.mdl",
entity = "fas2_m249",
amount = 1,
price = 115000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("MC51B-Vollmer", {
model = "models/weapons/w_mc51.mdl",
entity = "fas2_vollmer",
amount = 1,
price = 60000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("MINIMI", {
model = "models/weapons/w_m249.mdl",
entity = "fas2_minimi",
amount = 1,
price = 120000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("AI-AW50", {
model = "models/weapons/w_acc_int_aw50.mdl",
entity = "m9k_aw50",
amount = 1,
price = 50000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Barret M82", {
model = "models/weapons/w_barret_m82.mdl",
entity = "m9k_barret_m82",
amount = 1,
price = 35000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Barret M98", {
model = "models/weapons/w_barrett_m98b.mdl",
entity = "m9k_m98b",
amount = 1,
price = 30000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Dragunov SVD"", {
model = "models/weapons/w_dragunov_svu.mdl",
entity = "m9k_svu",
amount = 1,
price = 26000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Dragunov SVD", {
model = "models/weapons/w_dragunov_svu.mdl",
entity = "m9k_svu",
amount = 1,
price = 26000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Intervention", {
model = "models/weapons/w_snip_int.mdl",
entity = "m9k_intervention",
amount = 1,
price = 45000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M21", {
model = "models/weapons/view/support/m21.mdl",
entity = "fas2_m21",
amount = 1,
price = 32000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M24", {
model = "models/weapons/w_snip_m24_6.mdl",
entity = "fas2_m24",
amount = 1,
price = 44000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M24 M9K", {
model = "models/weapons/w_snip_m24_6.mdl",
entity = "m9k_m24",
amount = 1,
price = 44000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M82", {
model = "models/weapons/w_m82.mdl",
entity = "fas2_m82",
amount = 1,
price = 75000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("SR 25", {
model = "models/weapons/view/support/sr25.mdl",
entity = "fas2_sr25",
amount = 1,
price = 85000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Contender", {
model = "models/weapons/w_g2_contender.mdl",
entity = "m9k_contender",
amount = 1,
price = 100000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("MINIGUN", {
model = "models/weapons/w_m134_minigun.mdl",
entity = "m9k_minigun",
amount = 1,
price = 10000000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("EX41", {
model = "models/weapons/w_ex41.mdl",
entity = "m9k_ex41",
amount = 1,
price = 2550000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Flash", {
model = "models/weapons/w_cw_fraggrenade_thrown.mdl",
entity = "cw_flash_grenade",
amount = 1,
price = 5000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Grenade", {
model = "models/weapons/w_cw_fraggrenade_thrown.mdl",
entity = "cw_frag_grenade",
amount = 1,
price = 2500,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("12 M67", {
model = "models/weapons/w_cw_fraggrenade_thrown.mdl",
entity = "fas2_m67",
amount = 1,
price = 30000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("M79", {
model = "models/weapons/w_m79_grenadelauncher.mdl",
entity = "fas2_m79",
amount = 1,
price = 80000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("Mikor", {
model = "models/weapons/w_m79_grenadelauncher.mdl",
entity = "m9k_milkormgl",
amount = 1,
price = 260000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("RPG7", {
model = "models/weapons/w_m79_grenadelauncher.mdl",
entity = "m9k_rpg7",
amount = 1,
price = 450000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
DarkRP.createShipment("C4", {
model = "odels/weapons/w_sb_planted.mdl",
entity = "m9k_suicide_bomb",
amount = 1,
price = 650000,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
Evite de mettre un code comme ça utilise les balises du code s'il te plait. Sinon ligne 132 tu as
Code:
DarkRP.createShipment("S&W-Model-627", {}
change le par cela
Code:
DarkRP.createShipment("S&W-Model-627", {
 
Wasied

Wasied

Psychopathe
Messages
911
Score réaction
398
Points
210
Salut !
Comme l'erreur le dit, il suffit d'aller voir à la ligne 133.

Voici l'erreur :
Code:
DarkRP.createShipment("S&W-Model-627", {}
model = "models/weapons/w_sw_model_627.mdl",
entity = "m9k_model627",
amount = 1,
price = 2350
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
Comme tu vois, au début à côté du nom, tu as fermé la parenthèse avec un }
Il suffit de le retirer.

Voici le code final :
Code:
DarkRP.createShipment("S&W-Model-627", {
model = "models/weapons/w_sw_model_627.mdl",
entity = "m9k_model627",
amount = 1,
price = 2350
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
En espérant t'avoir aidé,
Wasied.
 
  • J'aime
Réactions: Gauthier Plus
Wasied

Wasied

Psychopathe
Messages
911
Score réaction
398
Points
210
Gauthier Plus à dit:
Evite de mettre un code comme ça utilise les balises du code s'il te plait. Sinon ligne 132 tu as
Code:
DarkRP.createShipment("S&W-Model-627", {}
change le par cela
Code:
DarkRP.createShipment("S&W-Model-627", {
En même temps 4Head
 
  • J'aime
Réactions: Gauthier Plus
Gauthier Plus

Gauthier Plus

Geek suprême
Messages
717
Score réaction
310
Points
180
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
Gauthier Plus à dit:
C'est mon client pas touche :p
ça ne marche toujours pas ça me redit

There is 1 Lua problem!
Please check your console for more information!
[ERROR] Lua is unable to understand file "darkrp_customthings/shipments.lua" because its author made a mistake around line number 137.
The best help I can give you is this:

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

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 -------
 
Wasied

Wasied

Psychopathe
Messages
911
Score réaction
398
Points
210
lumioxe à dit:
ça ne marche toujours pas ça me redit

There is 1 Lua problem!
Please check your console for more information!
[ERROR] Lua is unable to understand file "darkrp_customthings/shipments.lua" because its author made a mistake around line number 137.
The best help I can give you is this:

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

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 -------
Tu as également oublié une virgule au price
Remplace par ça :
Code:
DarkRP.createShipment("S&W-Model-627", {}
model = "models/weapons/w_sw_model_627.mdl",
entity = "m9k_model627",
amount = 1,
price = 2350,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
 
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
Wasied à dit:
Tu as également oublié une virgule au price
Remplace par ça :
Code:
DarkRP.createShipment("S&W-Model-627", {}
model = "models/weapons/w_sw_model_627.mdl",
entity = "m9k_model627",
amount = 1,
price = 2350,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
ok j’essaye et je redit quoi désoler c mon premier serveur alors...
je suis un Bambi
 
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
Wasied à dit:
Tu as également oublié une virgule au price
Remplace par ça :
Code:
DarkRP.createShipment("S&W-Model-627", {}
model = "models/weapons/w_sw_model_627.mdl",
entity = "m9k_model627",
amount = 1,
price = 2350,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
alors ça a marcher mais maintenant c'un autre ligne qui est buger regarder la il y a tout ce que vous m'avez dit

DarkRP.createShipment("M4A1", {
model = ""models/weapons/w_m4.mdl",
entity = "fas2_m4a1",
amount = 1,
price = 6700,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
 
Wasied

Wasied

Psychopathe
Messages
911
Score réaction
398
Points
210
lumioxe à dit:
alors ça a marcher mais maintenant c'un autre ligne qui est buger regarder la il y a tout ce que vous m'avez dit

DarkRP.createShipment("M4A1", {
model = ""models/weapons/w_m4.mdl",
entity = "fas2_m4a1",
amount = 1,
price = 6700,
separate = false,
pricesep = 0,
noship = false,
category = "Other"
})
On peut avoir l'erreur ?
 
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
Wasied à dit:
On peut avoir l'erreur ?
[ERROR] Lua is unable to understand file "darkrp_customthings/shipments.lua" because its author made a mistake around line number 353.
The best help I can give you is this:

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

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
 
Wasied

Wasied

Psychopathe
Messages
911
Score réaction
398
Points
210
model = ""models/weapons/w_m4.mdl",
Tu as mis 2 "
Remplace par ça :
model = "models/weapons/w_m4.mdl",
 
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
Wasied à dit:
model = ""models/weapons/w_m4.mdl",
Tu as mis 2 "
Remplace par ça :
model = "models/weapons/w_m4.mdl",
C officiel je suis débil
 
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
Wasied à dit:
model = ""models/weapons/w_m4.mdl",
Tu as mis 2 "
Remplace par ça :
model = "models/weapons/w_m4.mdl",
Je pense que c'est bon si c'est bon je mettrait Résolut
 
Wasied

Wasied

Psychopathe
Messages
911
Score réaction
398
Points
210
lumioxe à dit:
C officiel je suis débil
On peut le dire Kappa
Non je rigole, en vrai utilise csite.io il le fait pour toi
 
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
Wasied à dit:
model = ""models/weapons/w_m4.mdl",
Tu as mis 2 "
Remplace par ça :
model = "models/weapons/w_m4.mdl",
C officiel je suis débil
 
  • Initiateur de la discussion
L

lumioxe

Bambi
Messages
21
Score réaction
0
Points
35
C'est Bon ça marche Merci a tout le monde
 
Discord d'entraide
Rejoignz-nous sur Discord