.

  • Initiateur de la discussion
Lorenzo86

Lorenzo86

Geek suprême
Messages
322
Score réaction
8
Points
115
Yo je voulais savoir pk tous lemonde vois les armes alors que j'ai bien mis les jobs qui peuvent les voirs et tout le monde peuvent les acheter aussi cest bizzares voici le fichier

Je n'ai pas tous mis car sinon sa fesait trop long est le forum n'acceptai pas le message ;)

AddCustomShipment("Piano", {
model = "models/fishy/furniture/piano.mdl",
entity = "gmt_instrument_piano",
price = 0,
amount = 0,
seperate = true,
pricesep = 2000,
noship = false,
allowed = {TEAM_PIANO}
})

DarkRP.createShipment("AK-12", {
model = "models/weapons/world/rifles/ak12.mdl",
entity = "fas2_ak12",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("AK-47", {
model = "models/weapons/w_ak47.mdl",
entity = "fas2_ak47",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("AK-74", {
model = "models/weapons/w_rif_ak47.mdl",
entity = "fas2_74",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("AN-94", {
model = "models/weapons/world/rifles/an94.mdl",
entity = "fas2_an94",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("IMI Desert Eagle", {
model = "models/weapons/w_pist_deagle.mdl",
entity = "fas2_deagle",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("DV2", {
model = "models/weapons/w_dv2.mdl",
entity = "fas2_dv2",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Famas F1", {
model = "models/weapons/w_rif_famas.mdl",
entity = "fas2_famas",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("G3A3", {
model = "models/weapons/w_g3a3.mdl",
entity = "fas2_g3",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("G36e", {
model = "models/weapons/w_g36e.mdl",
entity = "fas2_g36e",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("IMI Galil", {
model = "models/weapons/w_rif_galil.mdl",
entity = "fas2_galil",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Glock-20", {
model = "models/weapons/w_pist_glock18.mdl",
entity = "fas2_glock20",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("KS-23", {
model = "models/weapons/world/shotguns/ks23.mdl",
entity = "fas2_ks23",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("M3 S90", {
model = "models/weapons/w_m3.mdl",
entity = "fas2_m3s90",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("M4A1", {
model = "models/weapons/w_m4.mdl",
entity = "fas2_m4a1",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("M14", {
model = "models/weapons/w_m14.mdl",
entity = "fas2_m14",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("M21", {
model = "models/weapons/w_m14.mdl",
entity = "fas2_m21",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("M24", {
model = "models/weapons/w_m24.mdl",
entity = "fas2_m24",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("M67", {
model = "models/weapons/w_eq_fraggrenade_thrown.mdl",
entity = "fas2_m67",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("M79", {
model = "models/weapons/w_m79.mdl",
entity = "fas2_m79",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("M82", {
model = "models/weapons/w_m82.mdl",
entity = "fas2_m82",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("M1911", {
model = "models/weapons/w_1911.mdl",
entity = "fas2_m1911",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Mac 11", {
model = "",
entity = "fas2_mac11",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Machete", {
model = "models/weapons/w_machete.mdl",
entity = "fas2_machete",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Mp5 A5", {
model = "models/weapons/w_mp5.mdl",
entity = "fas2_mp5a5",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Mp5 K", {
model = "models/weapons/w_mp5.mdl",
entity = "fas2_mp5k",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Mp5 SD6", {
model = "models/weapons/w_mp5.mdl",
entity = "fas2_mp5sd6",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("OTS 33", {
model = "models/weapons/world/pistols/ots33.mdl",
entity = "fas2_ots33",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("P226", {
model = "models/weapons/w_pist_p228.mdl",
entity = "fas2_p226",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("PP-19 Bizon", {
model = "models/weapons/w_smg_biz.mdl",
entity = "fas2_pp19",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Raging Bull", {
model = "models/weapons/w_357.mdl",
entity = "fas2_ragingbull",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("Remington 870", {
model = "models/weapons/w_m3.mdl",
entity = "fas2_rem870",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("RPK", {
model = "models/weapons/w_ak47.mdl",
entity = "fas2_rpk",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("SG550", {
model = "models/weapons/w_sg550.mdl",
entity = "fas2_sg550",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})

DarkRP.createShipment("SG552", {
model = "models/weapons/w_sg550.mdl",
entity = "fas2_sg552",
price = 1000,
amount = 1,
seperate = true,
pricesep = 500,
noship = true,
allowed = {TEAM_GUN}
})
 
RoyalGaming

RoyalGaming

Geek
Messages
83
Score réaction
3
Points
95
Il me semble que c'est par rapport au piano qui devrait etre mis dans les entitées
 
Diablos26

Diablos26

Psychopathe
Messages
951
Score réaction
326
Points
315
Le piano, sauf erreur ça doit être une entité et non un shipment (et en plus tu as mis AddCustomShipment, faudrait mettre un DarkRP.createShipment ou plutôt un DarkRP.createEntity).
De plus, pour ton erreur, ça peut venir de settings.lua :
GM.Config.restrictbuypistol = false
Tu le mets en true.
 
  • Initiateur de la discussion
Lorenzo86

Lorenzo86

Geek suprême
Messages
322
Score réaction
8
Points
115
Merci ^^
 
A

airlor1

Bambi
Messages
46
Score réaction
2
Points
40
tu a oublier la virgule après allowed {TEAM_*} c'est très important : (petit bout de ma config) :

DarkRP.createShipment("ak47", {
model = "models/weapons/3_rif_ak47.mdl",
entity = "bb_ak47_alt",
price = 9000,
amount = 1,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUN},
})

DarkRP.createShipment("AWP", {
model = "models/weapons/3_snip_awp.mdl",
entity = "bb_awp_alt",
price = 13000,
amount = 1,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUN},
})

DarkRP.createShipment("desert eagle", {
model = "models/weapons/3_pist_deagle.mdl",
entity = "bb_deagle_alt",
price = 4000,
amount = 1,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUN},
})

DarkRP.createShipment("dual pistol", {
model = "models/weapons/w_pist_elite.mdl",
entity = "bb_dualelites_alt",
price = 5500,
amount = 1,
separate = false,
pricesep = nil,
noship = false,
allowed = {TEAM_GUN},
})
 
Mickapette

Mickapette

Psychopathe
Messages
1 126
Score réaction
193
Points
250
Heuu excuse airlo1 je pense que tu fais sa pour aider mais....
Ne UP pas un sujet qui date de 2015 Oo
 
A

airlor1

Bambi
Messages
46
Score réaction
2
Points
40
Mickapette à dit:
Heuu excuse airlo1 je pense que tu fais sa pour aider mais....
Ne UP pas un sujet qui date de 2015 Oo
je sais pas je fait pas gaf mais c'est pour ci quelqu'un d'autre tombe deçus .....
 
Discord d'entraide
Rejoignz-nous sur Discord