Probleme shipment urgent

  • Initiateur de la discussion SertinoxTV
  • Date de début
  • Initiateur de la discussion
S

SertinoxTV

Geek
Messages
36
Score réaction
2
Points
60
DarkRP.createShipment("M1911", {
model = "models/weapons/s_dmgf_co1911.mdl",
entity = "m9k_colt1911",
price = 700,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Colt Python", {
model = "models/weapons/w_colt_python.mdl",
entity = "m9k_coltpython",
price = 1200,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Desert Eagle", {
model = "models/weapons/w_tcom_deagle.mdl",
entity = "m9k_deagle",
price = 1700,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("USP", {
model = "models/weapons/w_hk45c.mdl",
entity = "m9k_usp",
price = 700,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Sig Sauer", {
model = "models/weapons/w_sig_229r.mdl",
entity = "m9k_sig_p229r",
price = 700,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("AK-47", {
model = "models/weapons/3_rif_ak47.mdl",
entity = "m9k_ak47",
price = 5000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("AK-74", {
model = "models/weapons/w_mach_m249rpk.mdl",
entity = "m9k_ak74",
price = 5000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

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

DarkRP.createShipment("AN94", {
model = "models/weapons/w_rif_an_94.mdl",
entity = "m9k_an94",
price = 5000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("M4A1", {
model = "models/weapons/3_rif_m4a1.mdl",
entity = "m9k_m4a1",
price = 4000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Ares Shrike", {
model = "models/weapons/w_ares_shrike.mdl",
entity = "m9k_ares_shrike",
price = 20000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Benneli M3", {
model = "models/weapons/w_ithaca_m37.mdl",
entity = "m9k_m3",
price = 10000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("M24", {
model = "models/weapons/w_snip_m24_6.mdl",
entity = "m9k_m24",
price = 15000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Dragunov SVU", {
model = "models/weapons/w_dragunov_svu.mdl",
entity = "m9k_svu",
price = 16000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})
 

Pièces jointes

  • Screenshot_12.png
    Screenshot_12.png
    28.9 KB Vues: 7
Cluff

Cluff

Geek suprême
Messages
851
Score réaction
382
Points
160
Bonjour ?
 
Emy π

Emy π

Bambi
Messages
4
Score réaction
0
Points
30
SertinoxTV à dit:
DarkRP.createShipment("M1911", {
model = "models/weapons/s_dmgf_co1911.mdl",
entity = "m9k_colt1911",
price = 700,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Colt Python", {
model = "models/weapons/w_colt_python.mdl",
entity = "m9k_coltpython",
price = 1200,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Desert Eagle", {
model = "models/weapons/w_tcom_deagle.mdl",
entity = "m9k_deagle",
price = 1700,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("USP", {
model = "models/weapons/w_hk45c.mdl",
entity = "m9k_usp",
price = 700,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Sig Sauer", {
model = "models/weapons/w_sig_229r.mdl",
entity = "m9k_sig_p229r",
price = 700,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("AK-47", {
model = "models/weapons/3_rif_ak47.mdl",
entity = "m9k_ak47",
price = 5000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("AK-74", {
model = "models/weapons/w_mach_m249rpk.mdl",
entity = "m9k_ak74",
price = 5000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

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

DarkRP.createShipment("AN94", {
model = "models/weapons/w_rif_an_94.mdl",
entity = "m9k_an94",
price = 5000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("M4A1", {
model = "models/weapons/3_rif_m4a1.mdl",
entity = "m9k_m4a1",
price = 4000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Ares Shrike", {
model = "models/weapons/w_ares_shrike.mdl",
entity = "m9k_ares_shrike",
price = 20000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Benneli M3", {
model = "models/weapons/w_ithaca_m37.mdl",
entity = "m9k_m3",
price = 10000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("M24", {
model = "models/weapons/w_snip_m24_6.mdl",
entity = "m9k_m24",
price = 15000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Dragunov SVU", {
model = "models/weapons/w_dragunov_svu.mdl",
entity = "m9k_svu",
price = 16000,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})
Pas de questions pas de réponses en général :)
 
Vyn

Vyn

Bambi
Messages
16
Score réaction
16
Points
30
Dans ton code: "amout" => "amount"

Déjà-vu
 
Emy π

Emy π

Bambi
Messages
4
Score réaction
0
Points
30
Vyn à dit:
Dans ton code: "amout" => "amount"
Déjà-vu
Pas nécessairement, en théorie ça n'influence pas le comportement de lecture des lignes. Bien qu'effectivement si l'on souhaite que ça fonctionne alors le mot 'amount' est nécessaire.
 
iforever

iforever

Geek
Messages
3
Score réaction
0
Points
70
Salut ! Même problème que moi, suffiser de remonter quelque sujet pour trouver la réponse :)

Sinon ces ton amount qui n'est pas bon, tu à écrit amout au lieu de amount.
Et il te manque aussi la virgul à la fin de ta ligne "allowed ="
Et met "nil," à ta ligne pricesep comme il est en false.

Un exemple :

Code:
DarkRP.createShipment("M1911", {
model = "models/weapons/s_dmgf_co1911.mdl",
entity = "m9k_colt1911",
price = 700,
amout = 1,
seperate = false,
pricesep = 10,
noship = false,
allowed = {TEAM_GUN}
})

et avec le problème régler

Code:
DarkRP.createShipment("M1911", {
model = "models/weapons/s_dmgf_co1911.mdl",
entity = "m9k_colt1911",
price = 700,
amount = 1,
seperate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUN},
})

Cdt
 
Discord d'entraide
Rejoignz-nous sur Discord