(M9K) Ajouter des munitions et des armes: liste complète [Script]

  • Initiateur de la discussion
KMS [FR]

KMS [FR]

Geek
Messages
154
Score réaction
13
Points
65
Bonjour à tous et à toutes ,

J'ai fais les scripts pour ceux qui n'auraient pas envie de chercher.
Ceci ne s'applique uniquement pour les addons d'armes "M9K".

A noter que si vous voulez que les munitions ou les armes ne soit pas rendu publique mais uniquement pour le vendeur d'armes il suffira d'ajouter:
allowed = {TEAM_GUN}

Voici la liste pour éditer les munitions:
(addons/darkrpmodification/lua/darkrp_customthings/ammo.lua)


Code:
DarkRP.createAmmoType("357", { name = "M9K 357 ammo", model = "models/Items/357ammobox.mdl", price = 60, amountGiven = 20
})
DarkRP.createAmmoType("ar2", { name = "M9K Rifle ammo", model = "models/Items/BoxMRounds.mdl", price = 60, amountGiven = 30
})
DarkRP.createAmmoType("buckshot", { name = "M9K Shotgun ammo", model = "models/Items/BoxBuckshot.mdl", price = 40, amountGiven = 8
})
DarkRP.createAmmoType("pistol", { name = "M9K Pistol ammo", model = "models/Items/BoxSRounds.mdl", price = 20, amountGiven = 20
})
DarkRP.createAmmoType("smg1", { name = "M9K SMG ammo", model = "models/Items/BoxMRounds.mdl", price = 40, amountGiven = 60
})
DarkRP.createAmmoType("SniperPenetratedRound", { name = "M9K Sniper ammo", model = "models/Items/BoxMRounds.mdl", price = 80, amountGiven = 6
})
Vous pouvez modifier le prix (price), le montant (amountGiven) et le nom.[/B]

Petite liste pour ceux qui voudraient éditer des armes M9K (addons/darkrpmodification/lua/darkrp_customthings/shiments.lua)


Code:
// PISTOLS //
DarkRP.createShipment("Python", {
model = "models/weapons/w_colt_python.mdl",
entity = "m9k_coltpython",
amount = 12000,
price = 10,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("Python Single", {
model = "models/weapons/w_colt_python.mdl",
entity = "m9k_coltpython",
amount = 1200,
price = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("Colt 1911", {
model= "models/weapons/s_dmgf_co1911.mdl",
entity = "m9k_colt1911",
amount = 12000,
price = 10,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("Colt 1911 Single", {
model = "models/weapons/s_dmgf_co1911.mdl",
entity = "m9k_colt1911",
amount = 1500,
price = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("HK 45C Single", {
model = models/weapons/w_hk45c.mdl",
entity = "m9k_hk45",
amount = 2000,
price = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("Luger", {
model = "models/weapons/w_luger_p08.mdl",
entity = "m9k_luger",
amount = 12000,
price = 10,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("Luger Single", {
model = "models/weapons/w_luger_p08.mdl",
entity = "m9k_luger",
amount = 1000,
price = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("Raging Bull", {
model = "models/weapons/w_hk45c.mdl",
entity = "m9k_ragingbull",
amount = 30000,
price = 10,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("Raging Bull Single", {
model = "models/weapons/w_hk45c.mdl",
entity = "m9k_ragingbull",
amount = 6000,
price = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("S&W 500", {
model = "models/weapons/w_sw_model_500.mdl",
entity = "m9k_model500",
amount = 27500,
price = 10,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("S&W 500 Single", {
model = "models/weapons/w_sw_model_500.mdl",
entity = "m9k_model500",
amount = 5500,
price = 10,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("M29 Satan", {
model = "models/weapons/w_m29_satan.mdl",
entity = "m9k_m29satan",
amount = 30000,
price = 10,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_LIGHT}
})
DarkRP.createShipment("M29 Satan Single", {
model = "models/weapons/w_m29_satan.mdl",
entity "m9k_m29satan",
amount = 7500,
price = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("Baretta", {
model = "models/weapons/w_beretta_m92.mdl",
entity = "m9k_m92baretta",
amount = 14000,
price = 10,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("Baretta Single", {
model = "models/weapons/w_beretta_m92.mdl",
entity = "m9k_m92baretta",
amount = 2000,
price = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("S&W Model 3 Russian", {
model = "models/weapons/w_model_3_rus.mdl",
entity = "m9k_model3russian",
amount = 30000,
price = 10,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("S&W Model 3 Russian Single", {
model = "models/weapons/w_model_3_rus.mdl",
entity = "m9k_model3russian",
amount = 4000,
price = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("S&W 627", {
model = "models/weapons/w_sw_model_627.mdl",
entity = "m9k_model627",
amount = 30000,
price = 10,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("S&W 627 Single", {
model = "models/weapons/w_sw_model_627.mdl",
entity = "m9k_model627",
amount = 4250,
price = 1,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
})
DarkRP.createShipment("Acr",
model = "models/weapons/w_masada_acr.mdl",
entity = "m9k_acr",
amount = 40000,
price = 10,
separate = false,
pricesep = 0,
noship = false,
allowed = {TEAM_GUN}
DarkRP.createShipment("Acr Single",
"models/weapons/w_masada_acr.mdl",
"m9k_acr",
5000,
1,
false,
0,
false,
{TEAM_GUN}
DarkRP.createShipment("AMD 65",
"models/weapons/w_amd_65.mdl",
"m9k_amd65",
50000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("AMD 65 Single",
"models/weapons/w_amd_65.mdl",
"m9k_amd65",
6000,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("FN FAL",
"models/weapons/w_fn_fal.mdl",
"m9k_fal",
40000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("FN FAL Single",
"models/weapons/w_fn_fal.mdl",
"m9k_fal",
5500,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("M14",
"models/weapons/w_snip_m14sp.mdl",
"m9k_m14sp",
50000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("M14 Single",
"models/weapons/w_snip_m14sp.mdl",
"m9k_m14sp",
5250,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("M16 Scoped",
"models/weapons/w_dmg_m16ag.mdl",
"m9k_m16a4_acog",
52500,
10, false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("M16 Scoped Single",
"models/weapons/w_dmg_m16ag.mdl",
"m9k_m16a4_acog",
5750,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("HK 16",
"models/weapons/w_hk_416.mdl",
"m9k_m416",
50000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("HK 16 Single",
"models/weapons/w_hk_416.mdl",
"m9k_m416",
5500,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Scar",
"models/weapons/w_fn_scar_h.mdl",
"m9k_scar",
60000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Scar Single",
"models/weapons/w_fn_scar_h.mdl",
"m9k_scar",
7250,
1,
false,
123,
false,
{TEAM_GUN})
DarkRP.createShipment("TAR-21",
"models/weapons/w_imi_tar21.mdl",
"m9k_tar21",
50000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("TAR-21 Single",
"models/weapons/w_imi_tar21.mdl",
"m9k_tar21",
5250,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Val",
"models/weapons/w_dmg_vally.mdl",
"m9k_val",
55750,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Val Single",
"models/weapons/w_dmg_vally.mdl",
"m9k_val",
5500,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("SR-3M Vikhr",
"models/weapons/w_dmg_vikhr.mdl",
"m9k_vikhr",
50000,
10, false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("SR-3M Vikhr Single",
"models/weapons/w_dmg_vikhr.mdl",
"m9k_vikhr",
4500,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Winchester 73",
"models/weapons/w_winchester_1873.mdl",
"m9k_winchester73",
35000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Winchester 73 Single",
"models/weapons/w_winchester_1873.mdl",
"m9k_winchester73",
4000,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("1887 Winchester",
"models/weapons/w_winchester_1887.mdl",
"m9k_1887winchester",
40000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("1887 Winchester Single",
"models/weapons/w_winchester_1887.mdl",
"m9k_1887winchester",
5000,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Double Barrel",
"models/weapons/w_double_barrel_shotgun.mdl",
"m9k_dbarrel",
50000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Double Barrel Single",
"models/weapons/w_double_barrel_shotgun.mdl",
"m9k_dbarrel",
6000,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Jack Hammer",
"models/weapons/w_pancor_jackhammer.mdl",
"m9k_jackhammer",
80000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Jack Hammer Single",
"models/weapons/w_pancor_jackhammer.mdl",
"m9k_jackhammer",
9500,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Benelli M3", "models/weapons/w_benelli_m3.mdl",
"m9k_m3",
45000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Benelli M3 Single",
"models/weapons/w_benelli_m3.mdl",
"m9k_m3",
5000,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Ithaca M37",
"models/weapons/w_ithaca_m37.mdl",
"m9k_ithacam37",
30000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Ithaca M37 Single",
"models/weapons/w_ithaca_m37.mdl",
"m9k_ithacam37",
4000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Mossberg",
"models/weapons/w_mossberg_590.mdl",
"m9k_mossberg590",
30000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Mossberg Single",
"models/weapons/w_mossberg_590.mdl",
"m9k_mossberg590",
4000,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Remington 870",
"models/weapons/w_remington_870_tact.mdl",
"m9k_remington870",
25000,
10, false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Remington 870 Single",
"models/weapons/w_remington_870_tact.mdl",
"m9k_remington870",
3000,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("1897 Winchester",
"models/weapons/w_winchester_1897_trench.mdl",
"m9k_1897winchester",
40000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("1897 Winchester Single",
"models/weapons/w_winchester_1897_trench.mdl",
"m9k_1897winchester",
4250,
1, false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Barret M82",
"models/weapons/w_barret_m82.mdl",
"m9k_barret_m82",
100000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Barret M82 Single",
"models/weapons/w_barret_m82.mdl",
"m9k_barret_m82",
12500,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Barret M98B",
"models/weapons/w_barrett_m98b.mdl",
"m9k_m98b",
110000,
10,
false,
0,
false,
{TEAM_GUN}
DarkRP.createShipment("Barret M98B Single",
"models/weapons/w_barrett_m98b.mdl",
"m9k_m98b",
12000,
1,
false,
0,
false,
{TEAM_GUN}
DarkRP.createShipment("SVT 40",
"models/weapons/w_svt_40.mdl",
"m9k_svt40",
50000,
10,
false,
0,
false,
{TEAM_GUN}
DarkRP.createShipment("SVT 40 Single",
"models/weapons/w_svt_40.mdl",
"m9k_svt40",
6000,
1,
false,
0,
false,
{TEAM_GUN}
DarkRP.createShipment("Dragunov SVU",
"models/weapons/w_dragunov_svu.mdl",
"m9k_svu",
80000,
10,
false,
0,
false,
{TEAM_GUN}
DarkRP.createShipment("Dragunov SVU Single",
"models/weapons/w_dragunov_svu.mdl",
"m9k_svu",
9000,
1,
false,
0,
false,
{TEAM_GUN}
DarkRP.createShipment("SVD Dragunov",
"models/weapons/w_svd_dragunov.mdl",
"m9k_dragunov",
85000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("SVD Dragunov Single",
"models/weapons/w_svd_dragunov.mdl",
"m9k_dragunov",
9500,
1, false,
123, false,
{TEAM_GUN}
DarkRP.createShipment("Intervention",
"models/weapons/w_snp_int.mdl",
"m9k_intervention",
125000,
10,
false,
0,
false,
{TEAM_GUN}
DarkRP.createShipment("Intervention Single",
"models/weapons/w_snp_int.mdl",
"m9k_intervention",
15000,
1,
false,
0,
false,
{TEAM_GUN}
DarkRP.createShipment("PSG-1", "models/weapons/w_hk_psg1.mdl",
"m9k_psg1",
70000,
10,
false,
0,
false,
{TEAM_GUN}
DarkRP.createShipment("PSG-1 Single",
"models/weapons/w_hk_psg1.mdl",
"m9k_psg1",
8000,
1,
false,
0,
false,
{TEAM_GUN}
DarkRP.createShipment("AW 50",
"models/weapons/w_acc_int_aw50.mdl",
"m9k_aw50",
100000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("AW 50 Single",
"models/weapons/w_acc_int_aw50.mdl",
"m9k_aw50",
12000,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("M24",
"models/weapons/w_snip_m24_6.mdl",
"m9k_m24",
70000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("M24 Single",
"models/weapons/w_snip_m24_6.mdl",
"m9k_m24",
7750,
1,
false,
123,
alse,
TEAM_GUN}
DarkRP.createShipment("Remington 7615P",
"models/weapons/w_remington_7615p.mdl",
"m9k_remington7615p",
80000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Remington 7615P Single",
"models/weapons/w_remington_7615p.mdl",
"m9k_remington7615p",
9000,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Thompson Condender",
"models/weapons/w_g2_contender.mdl",
"m9k_contender",
50000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Thompson Condender Single",
"models/weapons/w_g2_contender.mdl",
"m9k_contender",
6000,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("AWP",
"models/weapons/w_snip_awp.mdl",
"weapon_mad_awp",
50000,
10,
false,
0,
false,
{TEAM_GUN}
DarkRP.createShipment("AWP Single",
"models/weapons/w_snip_awp.mdl",
"weapon_mad_awp",
8000,
1,
false,
0,
false,
{TEAM_GUN}
DarkRP.createShipment("Scout",
"models/weapons/w_snip_scout.mdl",
"weapon_mad_scout",
45000,
10, false,
0,
false,
{TEAM_GUN}
DarkRP.createShipment("Scout Single",
"models/weapons/w_snip_scout.mdl",
"weapon_mad_scout",
6000,
1,
false,
0,
false,
{TEAM_GUN}
DarkRP.createShipment("FG42",
"models/weapons/w_fg42.mdl",
"m9k_fg42",
5000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("FG42 Single",
"models/weapons/w_fg42.mdl",
"m9k_fg42",
550,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("M60",
"models/weapons/w_m60_machine_gun.mdl",
"m9k_m60",
20000,
10,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("M60 Single",
"models/weapons/w_m60_machine_gun.mdl",
"m9k_m60",
5000,
1,
false,
123,
false,
{TEAM_GUN}
DarkRP.createShipment("Mini Gun",
"models/weapons/w_m134_minigun.mdl",
"m9k_minigun",
1500000,
10, false,
0,
false,
{TEAM_GUN})
DarkRP.createShipment("Mini Gun Single",
"models/weapons/w_m134_minigun.mdl",
"m9k_minigun",
150000,
1,
false,
0,
false,
{TEAM_GUN})
 
Dernière édition:
  • J'aime
Réactions: Yoh Sambre ♪ et kirikoumalou
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 278
Score réaction
9 687
Points
1 845
Tu pourrais édit pour tous mettre dans la balise CODE ?

Code:
Beaucoup plus lisible pour les yeux
 
  • Initiateur de la discussion
KMS [FR]

KMS [FR]

Geek
Messages
154
Score réaction
13
Points
65
Yoh Sambre ♪ à dit:
Tu pourrais édit pour tous mettre dans la balise CODE ?

Code:
Beaucoup plus lisible pour les yeux
oui, comment mettre en balise code?
 
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 278
Score réaction
9 687
Points
1 845
KMS [FR] à dit:
oui, comment mettre en balise code?
[CO DE]Beaucoup plus lisible pour les yeux [/CO DE]

Sans espace =)
 
  • Initiateur de la discussion
KMS [FR]

KMS [FR]

Geek
Messages
154
Score réaction
13
Points
65
Yoh Sambre ♪ à dit:
[CO DE]Beaucoup plus lisible pour les yeux [/CO DE]

Sans espace =)
Merci
 
  • Initiateur de la discussion
KMS [FR]

KMS [FR]

Geek
Messages
154
Score réaction
13
Points
65
faites pas attention, j'étais fatigué hier soir je viens de m'apercevoir que j'ai inversé le montant et le prix sur le code numéro 2 BrokeBack
 
CISCO77

CISCO77

Bambi
Messages
5
Score réaction
2
Points
30
Merci c'est Cool.
 
Discord d'entraide
Rejoignz-nous sur Discord