Probléme Catégories Armes LUA

  • Initiateur de la discussion
Ectalyzia

Ectalyzia

Geek
Messages
143
Score réaction
16
Points
65
Bonjour, je rencontre quelques difficultés jes vouluts mettre les munitions sur mon serveur est quand je les est mis erreur LUA et dans le TAB > FADMIN y'avais pus les perm appart le Set Acces et il n'yavais pas de groupe dans le Set Acces des que jes enlever les munitions tout et redevenu a la normal ERREUR LUA :

Code:
[ERROR] A runtime error has occurred in "your custom ammo" on line -1.
The best help I can give you is this:
The category of "M9K 357 ammo" ("Other") does not exist!
Hints: - Make sure the category is created with DarkRP.createCategory. - The category name is case sensitive! - Categories must be created before DarkRP finished loading.
The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom ammo
------- End of Simplerr error -------
Est les munitions que jes mis sur mon Serveur :

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
})

Voila, Merci :p
 
  • Initiateur de la discussion
Ectalyzia

Ectalyzia

Geek
Messages
143
Score réaction
16
Points
65
up
 
A

Aymstep_

Geek
Messages
92
Score réaction
7
Points
60
Regarde dans ta console (F10), normalement elle te donne la ligne ou il y a l'erreur.
 
BCZ Gaming

BCZ Gaming

Psychopathe
Messages
1 301
Score réaction
129
Points
275
Ectalyzia à dit:
Bonjour, je rencontre quelques difficultés jes vouluts mettre les munitions sur mon serveur est quand je les est mis erreur LUA et dans le TAB > FADMIN y'avais pus les perm appart le Set Acces et il n'yavais pas de groupe dans le Set Acces des que jes enlever les munitions tout et redevenu a la normal ERREUR LUA :

Code:
[ERROR] A runtime error has occurred in "your custom ammo" on line -1.
The best help I can give you is this:
The category of "M9K 357 ammo" ("Other") does not exist!
Hints: - Make sure the category is created with DarkRP.createCategory. - The category name is case sensitive! - Categories must be created before DarkRP finished loading.
The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom ammo
------- End of Simplerr error -------
Est les munitions que jes mis sur mon Serveur :

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
})

Voila, Merci :p
Numéro 1 il n'y a pas de virgule. 2 il faut que tu croît t catégorie comme l'erreur te l'indice il suffit juste de lire.FailFish
 
Discord d'entraide
Rejoignz-nous sur Discord