- Initiateur de la discussion
RoyalGaming
Geek
- Messages
- 83
- Score réaction
- 3
- Points
- 95
Alor voila j'ai mis les munition M9K pour le vendeur d'arme et j'ai ce message d'erreur:
[ERROR] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/ammo.lua" on line 118.
The best help I can give you is this:
Corrupt entity: 9x18 MM Ammo (60 Rounds)!
The max must be an existing number or (for advanced users) the getMax field must be a function.
Hints:
- No hints, sorry.
The responsibility for this error lies with (the authors of) one (or more) of these files:
1. addons/darkrpmodification/lua/darkrp_customthings/ammo.lua on line 118
2. [C] on line -1
3. gamemodes/darkrp/gamemode/libraries/simplerr.lua on line 412
4. gamemodes/darkrp/gamemode/libraries/fn.lua on line 80
5. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 131
6. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 142
7. gamemodes/darkrp/gamemode/init.lua on line 83
------- End of Simplerr error -------
gamemodes/darkrp/gamemode/libraries/simplerr.lua:467: [ERROR] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/ammo.lua" on line 118.
The best help I can give you is this:
Corrupt entity: 9x18 MM Ammo (60 Rounds)!
The max must be an existing number or (for advanced users) the getMax field must be a function.
Et j'ai mis:
DarkRP.createEntity("9x18 MM Ammo (60 Rounds)", {
ent = "fas2_ammo_9x18",
model = "models/Items/BoxMRounds.mdl",
price = 1000,
cmd = "buy9x18mm",
})
Est ce que c'est parcequ'il n'y a pas le amount given?
[ERROR] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/ammo.lua" on line 118.
The best help I can give you is this:
Corrupt entity: 9x18 MM Ammo (60 Rounds)!
The max must be an existing number or (for advanced users) the getMax field must be a function.
Hints:
- No hints, sorry.
The responsibility for this error lies with (the authors of) one (or more) of these files:
1. addons/darkrpmodification/lua/darkrp_customthings/ammo.lua on line 118
2. [C] on line -1
3. gamemodes/darkrp/gamemode/libraries/simplerr.lua on line 412
4. gamemodes/darkrp/gamemode/libraries/fn.lua on line 80
5. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 131
6. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 142
7. gamemodes/darkrp/gamemode/init.lua on line 83
------- End of Simplerr error -------
gamemodes/darkrp/gamemode/libraries/simplerr.lua:467: [ERROR] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/ammo.lua" on line 118.
The best help I can give you is this:
Corrupt entity: 9x18 MM Ammo (60 Rounds)!
The max must be an existing number or (for advanced users) the getMax field must be a function.
Et j'ai mis:
DarkRP.createEntity("9x18 MM Ammo (60 Rounds)", {
ent = "fas2_ammo_9x18",
model = "models/Items/BoxMRounds.mdl",
price = 1000,
cmd = "buy9x18mm",
})
Est ce que c'est parcequ'il n'y a pas le amount given?