pb lua

  • Initiateur de la discussion Rouki
  • Date de début
  • Initiateur de la discussion
R

Rouki

Geek
Messages
101
Score réaction
1
Points
80
[ERROR] Lua is unable to understand file "darkrp_customthings/shipments.lua" because its author made a mistake around line number 20.
The best help I can give you is this:

Right before the ',', Lua expected to read a ')', but it didn't.

Hints:
- Did you forget a keyword?
- Did you forget a comma?

------- End of Simplerr error -------
 
  • Initiateur de la discussion
R

Rouki

Geek
Messages
101
Score réaction
1
Points
80
upload_2016-8-8_17-53-13.png
ligne 20 ces python
 
BlitzFire

BlitzFire

Geek suprême
Messages
707
Score réaction
131
Points
150
DarkRP.createShipment("F2000", {
model = "models/weapons/w_1911.mdl",
entity = "m9k_f2000",
price = 7000,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Striker", {
model = "models/weapons/w_striker_12g.mdl",
entity = "m9k_striker12",
price = 4500,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Winchester", {
model = "models/weapons/w_winchester_1873.mdl",
entity = "m9k_1887winchester",
price = 5500,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("ACR", {
model = "models/weapons/w_masada_acr.mdl",
entity = "m9k_acr",
price = 4500,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Ak47", {
model = "models/weapons/w_ak47_m9k.mdl",
entity = "m9k_ak47",
price = 4700,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Ak74", {
model = "models/weapons/w_tct_ak47.mdl",
entity = "m9k_ak74",
price = 4000,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("AS Val", {
model = "models/weapons/w_dmg_vally.mdl",
entity = "m9k_val",
price = 4500,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("G36", {
model = "models/weapons/w_hk_g36c.mdl",
entity = "m9k_g36",
price = 3600,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Famas", {
model = "models/weapons/w_tct_famas.mdl",
entity = "m9k_famas",
price = 3900,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("AUG A3", {
model = "models/weapons/w_auga3.mdl",
entity = "m9k_auga3",
price = 5600,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("M14", {
model = "models/weapons/w_snip_m14sp.mdl",
entity = "m9k_m14sp",
price = 6500,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("L85", {
model = "models/weapons/w_l85a2.mdl",
entity = "m9k_l85",
price = 7600,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("M16A4 ACOG", {
model = "models/weapons/w_dmg_m16ag.mdl",
entity = "m9k_m16a4_acog",
price = 5200,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Colt 1911", {
model = "models/weapons/s_dmgf_co1911.mdl",
entity = "m9k_colt1911",
price = 600,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Colt Python", {
model = "models/weapons/w_model_3_rus.mdl",
entity = "m9k_coltpython",
price = 800,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Desert Deagle", {
model = "models/weapons/w_tcom_deagle.mdl",
entity = "m9k_deagle",
price = 900,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Glock 18", {
model = "models/weapons/w_dmg_glock.mdl",
entity = "m9k_glock",
price = 600,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("HK USP", {
model = "models/weapons/w_pist_fokkususp.mdl",
entity = "m9k_usc",
price = 700,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Honey badger", {
model = "models/weapons/w_aac_honeybadger.mdl",
entity = "m9k_honeybadger",
price = 3600,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("MP7", {
model = "models/weapons/w_mp7_silenced.mdl",
entity = "m9k_mp7",
price = 3500,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("UZI", {
model = "models/weapons/v_imi_uzi01.mdl",
entity = "m9k_uzi",
price = 3200,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_GUN}
})


DarkRP.createShipment("Couteau", {
model = "models/weapons/w_extreme_ratio.mdl",
entity = "m9k_knife",
price = 4500,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_DIVER}
})

DarkRP.createShipment("Grenade", {
model = "models/weapons/w_m61_fraggynade.mdl",
entity = "m9k_m61_frag",
price = 4500,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_DIVER}
})

DarkRP.createShipment("Grenade Collante", {
model = "models/weapons/w_sticky_grenade_thrown.mdl",
entity = "m9k_sticky_grenade",
price = 5500,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_DIVER}
})

DarkRP.createShipment("Machette", {
model = "models/weapons/w_machete.mdl",
entity = "m9k_machete",
price = 4900,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_DIVER}
})

DarkRP.createShipment("Lockpick", {
model = "models/weapons/v_crowbar.mdl",
entity = "lockpick",
price = 4400,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_DIVER}
})

DarkRP.createShipment("Tommy Gun", {
model = "models/weapons/w_g2_contender.mdl",
entity = "m9k_thompson",
price = 3800,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_DIVER}
})

DarkRP.createShipment("Winchester 87", {
model = "models/weapons/w_winchester_1887.mdl",
entity = "m9k_1887winchester",
price = 3900,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_DIVER}
})

DarkRP.createShipment("Roulette Russe", {
model = "models/weapons/w_model_3_rus.mdl",
entity = "weapon_roulette",
price = 4500,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_DIVER}
})

DarkRP.createShipment("Intervention", {
model = "models/weapons/w_snip_int.mdl",
entity = "m9k_intervention",
price = 7500,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_SNIPER}
})

DarkRP.createShipment("PSG-1", {
model = "models/weapons/w_hk_psg1.mdl",
entity = "m9k_psg1",
price = 9500,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_SNIPER}
})

DarkRP.createShipment("Dragunov silencieux", {
model = "models/weapons/w_dragunov_svu.mdl",
entity = "m9k_svu",
price = 10000,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_SNIPER}
})

DarkRP.createShipment("Barret M98B", {
model = "models/weapons/w_barrett_m98b.mdl",
entity = "m9k_m98b",
price = 12000,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_SNIPER}
})

DarkRP.createShipment("Barret M82", {
model = "models/weapons/w_barret_m82.mdl",
entity = "m9k_barret_m82",
price = 16000,
amount = 1,
seperate = false,
pricesep = 2,
noship = false,
allowed = {TEAM_SNIPER}
 
  • Initiateur de la discussion
R

Rouki

Geek
Messages
101
Score réaction
1
Points
80
merci
 
DifaltExalted

DifaltExalted

Geek suprême
Messages
303
Score réaction
62
Points
100
@BlitzFire plus long le message pls :p

tiens voila l'astuce pour évité d'avoir un message de 400 lignes , puis en plus le mec C/C directement le code sans bavure (risque de prendre des texts du fofo)

http://hastebin.com/
 
BlitzFire

BlitzFire

Geek suprême
Messages
707
Score réaction
131
Points
150
DifaltExalted à dit:
@BlitzFire plus long le message pls :p

tiens voila l'astuce pour évité d'avoir un message de 400 lignes , puis en plus le mec C/C directement le code sans bavure (risque de prendre des texts du fofo)

http://hastebin.com/
Non
 
DifaltExalted

DifaltExalted

Geek suprême
Messages
303
Score réaction
62
Points
100
Discord d'entraide
Rejoignz-nous sur Discord