Besoin d'aide pour mes shipements

  • Initiateur de la discussion Gogo33700
  • Date de début
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
Bonjour , j'essaie de mettre des armes pour mon vendeur d'armes mais in-game, rien n'apparait . Voici mon shipement.lua :

Code:
--[[---------------------------------------------------------------------------
DarkRP custom shipments and guns
---------------------------------------------------------------------------
This file contains your custom shipments and guns.
This file should also contain shipments and guns from DarkRP that you edited.
Note: If you want to edit a default DarkRP shipment, first disable it in darkrp_config/disabled_defaults.lua Once you've done that, copy and paste the shipment to this file and edit it.
The default shipments and guns can be found here:
https://github.com/FPtje/DarkRP/blob/master/gamemode/config/addentities.lua
For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomShipmentFields
Add shipments and guns under the following line:
---------------------------------------------------------------------------]]
DarkRP.createShipment("AK47", { -- Nom du shipment model = "models/weapons/w_rif_ak47.mdl", -- Le model dans lequel le shipment spawn (devraient être un world model...) entity = "weapon_ak472", -- Le nom de classe de l'arme. On utilise généralement la forme weapon_quelquechose. price = 2450, -- Le prix d'un shipment amount = 1, -- Combien d'armes il y'a t-il dans un shipment separate = false, -- L'objet(arme) du shipment est vendu séparément pricesep = nil, -- OPTIONNEL: Le prix d'une arme si c'est vendu séparément noship = true, -- OPTIONNEL: True/false, cette arme est vendu dans un shipment allowed = {TEAM_GUN}, -- OPTIONNEL: Lise des jobs qui peuvent acheter un shipment category = "Armes d'assaut", -- OPTIONNEL: La catégorie du shipment sera celle là, dans le menu F4
})
DarkRP.createShipment("Glock 19", { -- Nom du shipment model = "models/cw2_g18/w_dmg_glock.mdl", -- Le model dans lequel le shipment spawn (devraient être un world model...) entity = "m9k_glock", -- Le nom de classe de l'arme. On utilise généralement la forme weapon_quelquechose. price = 700, -- Le prix d'un shipment amount = 1, -- Combien d'armes il y'a t-il dans un shipment separate = false, -- L'objet(arme) du shipment est vendu séparément pricesep = nil, -- OPTIONNEL: Le prix d'une arme si c'est vendu séparément noship = true, -- OPTIONNEL: True/false, cette arme est vendu dans un shipment allowed = {TEAM_GUN}, -- OPTIONNEL: Lise des jobs qui peuvent acheter un shipment category = "Pistolet", -- OPTIONNEL: La catégorie du shipment sera celle là, dans le menu F4
})
AddCustomShipment("Glock 20", { model = "models/weapons/w_pist_glock18.mdl", entity = "m9k_glock", price = 2500, amount = 1, separate = false, pricesep = 1100, noship = false, allowed = {TEAM_VENDEUR}
})
En espérant que vous pourrez m'aider
 
Romero

Romero

Bambi
Messages
7
Score réaction
7
Points
30
Comment s'appel ton vendeur d'arme exactement ? Le "TEAM_NOM"
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
Romero à dit:
Comment s'appel ton vendeur d'arme exactement ? Le "TEAM_NOM"
Code:
TEAM_GUN = DarkRP.createJob("Vendeur d'armes", { color = Color(255, 140, 0, 255), model = "models/player/monk.mdl", description = [[Vous êtes le seul homme de la ville a pouvoir vendre des armes à des gens qui ont ou pas une licence d'arme . La vente sans licences est illegale.]], weapons = {}, command = "gundealer", max = 2, salary = 100, admin = 0, vote = false, hasLicense = false, category = "Citoyen",
})
Voila ^^
 
C

ColoNeil

Bambi
Messages
12
Score réaction
0
Points
35
Essaye avec un 2 eme espace après le "})"
 
C

ColoNeil

Bambi
Messages
12
Score réaction
0
Points
35
Ha je sais à la place de pricesep = nil,
tu mets pricesep = 0,
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
Ça ne marche pas :(
 
C

ColoNeil

Bambi
Messages
12
Score réaction
0
Points
35
Tiens moi au courant ;)
 
WDAIOS

WDAIOS

Geek
Messages
66
Score réaction
6
Points
65
a mon avis c'est car tu as mis des category qui n'existent pas essaye de remplacer "pistolet" par "pistol"
 
  • J'aime
Réactions: PJGame
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
WDAIOS à dit:
a mon avis c'est car tu as mis des category qui n'existent pas essaye de remplacer "pistolet" par "pistol"
Toujours pas :(
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
up
 
PJGame

PJGame

Geek suprême
Messages
288
Score réaction
68
Points
160
Es-tu sûr d'avoir crée tes catégories ?
 
Voknario

Voknario

Psychopathe
Messages
526
Score réaction
165
Points
205
Essaye avec ce code si ^^
Code:
DarkRP.createShipment("Glock 19", { model = "models/cw2_g18/w_dmg_glock.mdl", entity = "m9k_glock", amount = 10, price = 700, separate = false, pricesep = 0, noship = false allowed = {TEAM_GUN}
})
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
PJGame à dit:
Es-tu sûr d'avoir crée tes catégories ?
Mon fichier categories.lua


Code:
--[[-----------------------------------------------------------------------
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 = "Citoyen", -- 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 = "Rifle ammo", categorises = "ammo", startExpanded = false, color = Color(0, 0, 0, 255), canSee = function(ply) return true end, sortOrder = 100
}
DarkRP.createCategory{ name = "Shotgun ammo", categorises = "ammo", startExpanded = false, color = Color(0, 0, 0, 255), canSee = function(ply) return true end, sortOrder = 100
}
DarkRP.createCategory{ name = "Pistol ammo", categorises = "ammo", startExpanded = false, color = Color(0, 0, 0, 255), canSee = function(ply) return true end, sortOrder = 100
}
DarkRP.createCategory{ name = "Citoyen", categorises = "jobs", startExpanded = true, color = Color(0, 107, 0, 255), canSee = function(ply) return true end, sortOrder = 100,
}
DarkRP.createCategory{ name = "Armes d'assaut", categorises = "weapons", startExpanded = true, color = Color(0, 0, 0, 255), canSee = function(ply) return true end, sortOrder = 100,
}
DarkRP.createCategory{ name = "Pistolet", categorises = "weapons", startExpanded = true, color = Color(0, 0, 0, 255), canSee = function(ply) return true end, sortOrder = 100,
}
DarkRP.createCategory{ name = "Fusil a pompe", categorises = "weapons", startExpanded = true, color = Color(0, 107, 0, 255), canSee = function(ply) return true end, sortOrder = 100,
}
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
Voknario à dit:
Essaye avec ce code si ^^
Code:
DarkRP.createShipment("Glock 19", { model = "models/cw2_g18/w_dmg_glock.mdl", entity = "m9k_glock", amount = 10, price = 700, separate = false, pricesep = 0, noship = false allowed = {TEAM_GUN}
})
J'essaie ça ! :D
 
C

ColoNeil

Bambi
Messages
12
Score réaction
0
Points
35
WDAIOS à dit:
a mon avis c'est car tu as mis des category qui n'existent pas essaye de remplacer "pistolet" par "pistol"
Les autres n'ont pas se problème
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
floppys62138

floppys62138

Geek
Messages
240
Score réaction
14
Points
85
Cadeau :)

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

DarkRP.createShipment("Desert Eagle", {
model = "models/weapons/w_tcom_deagle.mdl",
entity = "m9k_deagle",
price = 6600,
amount = 1,
separate = false,
pricesep = 1500,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

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

DarkRP.createShipment("Raging Bull", {
model = "models/weapons/w_taurus_raging_bull.mdl",
entity = "m9k_ragingbull",
price = 6100,
amount = 1,
separate = false,
pricesep = 1500,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("HK MP7", {
model = "models/weapons/w_mp7_silenced.mdl",
entity = "m9k_mp7",
price = 12100,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("FN P90", {
model = "models/weapons/w_fn_p90.mdl",
entity = "m9k_smgp90",
price = 14400,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("TEC-9", {
model = "models/weapons/w_intratec_tec9.mdl",
entity = "m9k_tec9",
price = 12900,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("HK USC", {
model = "models/weapons/w_hk_usc.mdl",
entity = "m9k_usc",
price = 16100,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("UZI", {
model = "models/weapons/w_uzi_imi.mdl",
entity = "m9k_uzi",
price = 18500,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("AK-47", {
model = "models/weapons/w_ak47_m9k.mdl",
entity = "m9k_ak47",
price = 26000,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("AK-74", {
model = "models/weapons/w_tct_ak47.mdl",
entity = "m9k_ak74",
price = 24100,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("FN FAL", {
model = "models/weapons/w_fn_fal.mdl",
entity = "m9k_fal",
price = 20100,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("SCAR", {
model = "models/weapons/w_fn_scar_h.mdl",
entity = "m9k_scar",
price = 22200,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("AS VAL", {
model = "models/weapons/w_dmg_vally.mdl",
entity = "m9k_val",
price = 20400,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("Double Barrel Shotgun", {
model = "models/weapons/w_double_barrel_shotgun.mdl",
entity = "m9k_dbarrel",
price = 36000,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("Pancor Jackhammer", {
model = "models/weapons/w_pancor_jackhammer.mdl",
entity = "m9k_jackhammer",
price = 33000,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("Remington 870", {
model = "models/weapons/w_remington_870_tact.mdl",
entity = "m9k_remington870",
price = 32200,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("Striker 12", {
model = "models/weapons/w_striker_12g.mdl",
entity = "m9k_striker12",
price = 33800,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("Barret M82", {
model = "models/weapons/w_barret_m82.mdl",
entity = "m9k_barret_m82",
price = 48000,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("Thompson Contender G2", {
model = "models/weapons/w_g2_contender.mdl",
entity = "m9k_contender",
price = 44000,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("SVD Dragunov", {
model = "models/weapons/w_svd_dragunov.mdl",
entity = "m9k_dragunov",
price = 56000,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("Intervention", {
model = "models/weapons/w_snip_int.mdl",
entity = "m9k_intervention",
price = 56400,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("M24", {
model = "models/weapons/w_snip_m24_6.mdl",
entity = "m9k_m24",
price = 50500,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

Ceci sont quelque arme M9k
 
Deadman69330

Deadman69330

Psychopathe
Messages
2 289
Score réaction
309
Points
290
Sinon tu va sur CSite.io C'est pratique quand on sait pas trop faire ^^
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
floppys62138 à dit:
Cadeau :)

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

DarkRP.createShipment("Desert Eagle", {
model = "models/weapons/w_tcom_deagle.mdl",
entity = "m9k_deagle",
price = 6600,
amount = 1,
separate = false,
pricesep = 1500,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

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

DarkRP.createShipment("Raging Bull", {
model = "models/weapons/w_taurus_raging_bull.mdl",
entity = "m9k_ragingbull",
price = 6100,
amount = 1,
separate = false,
pricesep = 1500,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("HK MP7", {
model = "models/weapons/w_mp7_silenced.mdl",
entity = "m9k_mp7",
price = 12100,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("FN P90", {
model = "models/weapons/w_fn_p90.mdl",
entity = "m9k_smgp90",
price = 14400,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("TEC-9", {
model = "models/weapons/w_intratec_tec9.mdl",
entity = "m9k_tec9",
price = 12900,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("HK USC", {
model = "models/weapons/w_hk_usc.mdl",
entity = "m9k_usc",
price = 16100,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("UZI", {
model = "models/weapons/w_uzi_imi.mdl",
entity = "m9k_uzi",
price = 18500,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("AK-47", {
model = "models/weapons/w_ak47_m9k.mdl",
entity = "m9k_ak47",
price = 26000,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("AK-74", {
model = "models/weapons/w_tct_ak47.mdl",
entity = "m9k_ak74",
price = 24100,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("FN FAL", {
model = "models/weapons/w_fn_fal.mdl",
entity = "m9k_fal",
price = 20100,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("SCAR", {
model = "models/weapons/w_fn_scar_h.mdl",
entity = "m9k_scar",
price = 22200,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("AS VAL", {
model = "models/weapons/w_dmg_vally.mdl",
entity = "m9k_val",
price = 20400,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("Double Barrel Shotgun", {
model = "models/weapons/w_double_barrel_shotgun.mdl",
entity = "m9k_dbarrel",
price = 36000,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("Pancor Jackhammer", {
model = "models/weapons/w_pancor_jackhammer.mdl",
entity = "m9k_jackhammer",
price = 33000,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("Remington 870", {
model = "models/weapons/w_remington_870_tact.mdl",
entity = "m9k_remington870",
price = 32200,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("Striker 12", {
model = "models/weapons/w_striker_12g.mdl",
entity = "m9k_striker12",
price = 33800,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("Barret M82", {
model = "models/weapons/w_barret_m82.mdl",
entity = "m9k_barret_m82",
price = 48000,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("Thompson Contender G2", {
model = "models/weapons/w_g2_contender.mdl",
entity = "m9k_contender",
price = 44000,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("SVD Dragunov", {
model = "models/weapons/w_svd_dragunov.mdl",
entity = "m9k_dragunov",
price = 56000,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("Intervention", {
model = "models/weapons/w_snip_int.mdl",
entity = "m9k_intervention",
price = 56400,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

DarkRP.createShipment("M24", {
model = "models/weapons/w_snip_m24_6.mdl",
entity = "m9k_m24",
price = 50500,
amount = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN, TEAM_GUNS},
})

Ceci sont quelque arme M9k
Merci beaucoup ça va bien m'aider ^^
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
Deadman69330 à dit:
Sinon tu va sur CSite.io C'est pratique quand on sait pas trop faire ^^
C'est justement sur ce site que je les faisait
 
floppys62138

floppys62138

Geek
Messages
240
Score réaction
14
Points
85
Jason_Oubout

Jason_Oubout

Geek suprême
Messages
595
Score réaction
189
Points
130
Résolu où pas
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
Jason_Oubout à dit:
Résolu où pas
En test ^^

Je suis pas chez moi donc j'ai demandé à un pote de vérifier et j'attend sa réponse
 
Jason_Oubout

Jason_Oubout

Geek suprême
Messages
595
Score réaction
189
Points
130
Gogo33700 à dit:
En test ^^

Je suis pas chez moi donc j'ai demandé à un pote de vérifier et j'attend sa réponse
Ok très bien
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
Jason_Oubout

Jason_Oubout

Geek suprême
Messages
595
Score réaction
189
Points
130
Gogo33700 à dit:
Ça marche ! Merci beaucoup pour votre aide :D
Derien n'hésite pas à passer ton sujet en résolu
 
Mr.DevDemon

Mr.DevDemon

je suis développeur glua
Messages
2
Score réaction
0
Points
10
--[[---------------------------------------------------------------------------
DarkRP custom shipments and guns
---------------------------------------------------------------------------

This file contains your custom shipments and guns.
This file should also contain shipments and guns from DarkRP that you edited.

Note: If you want to edit a default DarkRP shipment, first disable it in darkrp_config/disabled_defaults.lua
Once you've done that, copy and paste the shipment to this file and edit it.

The default shipments and guns can be found here:

For examples and explanation please visit this wiki page:


Add shipments and guns under the following line:
---------------------------------------------------------------------------]]
DarkRP.createShipment("ACR", {
model = "models/weapons/w_masada_acr.mdl",
entity = "m9k_acr",
price = 9600,
amount = 1,
separate = true,
pricesep = 6500,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})

DarkRP.createShipment("AK-47", {
model = "models/weapons/w_rif_ak47.mdl",
entity = "m9k_ak47",
price = 9600,
amount = 1,
separate = true,
pricesep = 7500,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})

DarkRP.createShipment("AK-74", {
model = "models/weapons/w_rif_ak47.mdl",
entity = "m9k_ak74",
price = 9600,
amount = 1,
separate = true,
pricesep = 9000,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})

DarkRP.createShipment("AN-94", {
model = "models/weapons/w_rif_an_94.mdl",
entity = "m9k_an94",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("AMD-65", {
model = "models/weapons/w_amd_65.mdl",
entity = "m9k_amd65",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("AS-VAL", {
model = "models/weapons/w_fn_fal.mdl",
entity = "m9k_val",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("FAMAS", {
model = "models/weapons/w_tct_famas.mdl",
entity = "m9k_famas",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("G36", {
model = "models/weapons/w_hk_g36c.mdl",
entity = "m9k_g36",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("SCAR", {
model = "models/weapons/w_fn_scar_h.mdl",
entity = "m9k_scar",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Colt 1911", {
model = "models/weapons/s_dmgf_co1911.mdl",
entity = "m9k_colt1911",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Deagel", {
model = "models/weapons/w_tcom_deagle.mdl",
entity = "m9k_deagle",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Glock 18", {
model = "models/weapons/w_dmg_glock.mdl",
entity = "m9k_glock",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})



DarkRP.createShipment("Regin bull", {
model = "models/weapons/w_taurus_raging_bull.mdl",
entity = "m9k_ragingbull",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})



DarkRP.createShipment("Spas 12", {
model = "models/weapons/w_spas_12.mdl",
entity = "m9k_spas12",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Remington", {
model = "models/weapons/w_remington_870_tact.mdl",
entity = "m9k_remington870",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Mossberg590", {
model = "models/weapons/w_mossberg_590.mdl",
entity = "m9k_mossberg590",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Barrette", {
model = "models/weapons/w_barret_m82.mdl",
entity = "m9k_m98b",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Dragunov", {
model = "models/weapons/w_dragunov_svu.mdl",
entity = "m9k_dragunov",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Couteaux", {
model = "models/weapons/w_extreme_ratio.mdl",
entity = "m9k_knife",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("UZI", {
model = "models/weapons/w_uzi_imi.mdl",
entity = "m9k_uzi",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("honeybadger", {
model = "models/weapons/w_aac_honeybadger.mdl",
entity = "m9k_honeybadger",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("MP-40", {
model = "models/weapons/w_mp40smg.mdl",
entity = "m9k_mp40",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


Et voila pour toi bg
 
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 278
Score réaction
9 687
Points
1 845
Mr.DevDemon à dit:
--[[---------------------------------------------------------------------------
DarkRP custom shipments and guns
---------------------------------------------------------------------------

This file contains your custom shipments and guns.
This file should also contain shipments and guns from DarkRP that you edited.

Note: If you want to edit a default DarkRP shipment, first disable it in darkrp_config/disabled_defaults.lua
Once you've done that, copy and paste the shipment to this file and edit it.

The default shipments and guns can be found here:

For examples and explanation please visit this wiki page:


Add shipments and guns under the following line:
---------------------------------------------------------------------------]]
DarkRP.createShipment("ACR", {
model = "models/weapons/w_masada_acr.mdl",
entity = "m9k_acr",
price = 9600,
amount = 1,
separate = true,
pricesep = 6500,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})

DarkRP.createShipment("AK-47", {
model = "models/weapons/w_rif_ak47.mdl",
entity = "m9k_ak47",
price = 9600,
amount = 1,
separate = true,
pricesep = 7500,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})

DarkRP.createShipment("AK-74", {
model = "models/weapons/w_rif_ak47.mdl",
entity = "m9k_ak74",
price = 9600,
amount = 1,
separate = true,
pricesep = 9000,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})

DarkRP.createShipment("AN-94", {
model = "models/weapons/w_rif_an_94.mdl",
entity = "m9k_an94",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("AMD-65", {
model = "models/weapons/w_amd_65.mdl",
entity = "m9k_amd65",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("AS-VAL", {
model = "models/weapons/w_fn_fal.mdl",
entity = "m9k_val",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("FAMAS", {
model = "models/weapons/w_tct_famas.mdl",
entity = "m9k_famas",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("G36", {
model = "models/weapons/w_hk_g36c.mdl",
entity = "m9k_g36",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("SCAR", {
model = "models/weapons/w_fn_scar_h.mdl",
entity = "m9k_scar",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Colt 1911", {
model = "models/weapons/s_dmgf_co1911.mdl",
entity = "m9k_colt1911",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Deagel", {
model = "models/weapons/w_tcom_deagle.mdl",
entity = "m9k_deagle",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Glock 18", {
model = "models/weapons/w_dmg_glock.mdl",
entity = "m9k_glock",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})



DarkRP.createShipment("Regin bull", {
model = "models/weapons/w_taurus_raging_bull.mdl",
entity = "m9k_ragingbull",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})



DarkRP.createShipment("Spas 12", {
model = "models/weapons/w_spas_12.mdl",
entity = "m9k_spas12",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Remington", {
model = "models/weapons/w_remington_870_tact.mdl",
entity = "m9k_remington870",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Mossberg590", {
model = "models/weapons/w_mossberg_590.mdl",
entity = "m9k_mossberg590",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Barrette", {
model = "models/weapons/w_barret_m82.mdl",
entity = "m9k_m98b",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Dragunov", {
model = "models/weapons/w_dragunov_svu.mdl",
entity = "m9k_dragunov",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("Couteaux", {
model = "models/weapons/w_extreme_ratio.mdl",
entity = "m9k_knife",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("UZI", {
model = "models/weapons/w_uzi_imi.mdl",
entity = "m9k_uzi",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("honeybadger", {
model = "models/weapons/w_aac_honeybadger.mdl",
entity = "m9k_honeybadger",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


DarkRP.createShipment("MP-40", {
model = "models/weapons/w_mp40smg.mdl",
entity = "m9k_mp40",
price = 9600,
amount = 1,
separate = true,
pricesep = 900,
noship = false,
allowed = {TEAM_Vendeurs_darme},
shipmodel = "models/items/item_item_crate.mdl",
-- Insert customCheck here if you have one and want one.
})


Et voila pour toi bg
tu peux genre éviter de up un topic datant de 2017 , merci.
 
Discord d'entraide
Rejoignz-nous sur Discord