- Initiateur de la discussion
SuperTata
Geek suprême
- Messages
- 180
- Score réaction
- 11
- Points
- 125
Bonjour/Bonsoir, j'ai un petit problème quand je fais spawn mes munitions à l'aide de mon F4 Menu (Arivia), lorsque j'achète les munitions, je les prends, mais je reçois aucune munitions.
=== Voici mon ammo.lua ===
--[[---------------------------------------------------------------------------
Ammo types
---------------------------------------------------------------------------
Add new ammo types under the next line!
---------------------------------------------------------------------------]]
DarkRP.createAmmoType("m9k_ammo_357", {
name = "M9K 357 ammo",
model = "models/Items/357ammobox.mdl",
price = 200,
amountGiven = 20
})
DarkRP.createAmmoType("m9k_ammo_ar2", {
name = "Assult Rifle Ammo",
model = "models/Items/357ammobox.mdl",
price = 200,
amountGiven = 40
})
DarkRP.createAmmoType("m9k_ammo_buckshot", {
name = "Shotgun Ammo",
model = "models/Items/357ammobox.mdl",
price = 200,
amountGiven = 20
})
DarkRP.createAmmoType("m9k_ammo_pistol", {
name = "Pistol Ammo",
model = "models/Items/357ammobox.mdl",
price = 200,
amountGiven = 30
})
DarkRP.createAmmoType("m9k_ammo_smg", {
name = "SMG Ammo",
model = "models/Items/357ammobox.mdl",
price = 200,
amountGiven = 40
})
DarkRP.createAmmoType("m9k_ammo_sniper_rounds", {
name = "Sniper Ammo",
model = "models/Items/357ammobox.mdl",
price = 200,
amountGiven = 20
})
Merci de votre aide !
=== Voici mon ammo.lua ===
--[[---------------------------------------------------------------------------
Ammo types
---------------------------------------------------------------------------
Add new ammo types under the next line!
---------------------------------------------------------------------------]]
DarkRP.createAmmoType("m9k_ammo_357", {
name = "M9K 357 ammo",
model = "models/Items/357ammobox.mdl",
price = 200,
amountGiven = 20
})
DarkRP.createAmmoType("m9k_ammo_ar2", {
name = "Assult Rifle Ammo",
model = "models/Items/357ammobox.mdl",
price = 200,
amountGiven = 40
})
DarkRP.createAmmoType("m9k_ammo_buckshot", {
name = "Shotgun Ammo",
model = "models/Items/357ammobox.mdl",
price = 200,
amountGiven = 20
})
DarkRP.createAmmoType("m9k_ammo_pistol", {
name = "Pistol Ammo",
model = "models/Items/357ammobox.mdl",
price = 200,
amountGiven = 30
})
DarkRP.createAmmoType("m9k_ammo_smg", {
name = "SMG Ammo",
model = "models/Items/357ammobox.mdl",
price = 200,
amountGiven = 40
})
DarkRP.createAmmoType("m9k_ammo_sniper_rounds", {
name = "Sniper Ammo",
model = "models/Items/357ammobox.mdl",
price = 200,
amountGiven = 20
})
Merci de votre aide !