- Initiateur de la discussion
valentinmichot
BudOrang
- Messages
- 16
- Score réaction
- 1
- Points
- 80
Bonjour, j'ai depuis aujourd'hui ce soucis... lorsque j'achète un certain type d'arme (fa:s2) via le menu F4 une fois pop elle se freeze avec un message "amount 0" et j'ai alors dans la console rcon.
Photo en jeu:
L'erreur rcon:
[ERROR] gamemodes/darkrp/entities/entities/spawned_weapon/init.lua:13: Tried to use a NULL physics object!
1. Wake - [C]:-1
2. unknown - gamemodes/darkrp/entities/entities/spawned_weapon/init.lua:13
3. Spawn - [C]:-1
4. SpawnItem - gamemodes/darkrp/entities/entities/spawned_shipment/init.lua:150
5. unknown - gamemodes/darkrp/entities/entities/spawned_shipment/init.lua:107
Le code du shipment en question:
DarkRP.createShipment("AK-47", {
model = "models/weapons/w_ak47.mdl",
entity = "fas2_ak47",
amount = 1,
price = 25600,
separate = false,
pricesep = 0,
noship = false,
category = "Fusils d'assaut",
allowed = {TEAM_ARMURIER}
}
Merci pour votre aide !
Photo en jeu:
L'erreur rcon:
[ERROR] gamemodes/darkrp/entities/entities/spawned_weapon/init.lua:13: Tried to use a NULL physics object!
1. Wake - [C]:-1
2. unknown - gamemodes/darkrp/entities/entities/spawned_weapon/init.lua:13
3. Spawn - [C]:-1
4. SpawnItem - gamemodes/darkrp/entities/entities/spawned_shipment/init.lua:150
5. unknown - gamemodes/darkrp/entities/entities/spawned_shipment/init.lua:107
Le code du shipment en question:
DarkRP.createShipment("AK-47", {
model = "models/weapons/w_ak47.mdl",
entity = "fas2_ak47",
amount = 1,
price = 25600,
separate = false,
pricesep = 0,
noship = false,
category = "Fusils d'assaut",
allowed = {TEAM_ARMURIER}
}
Merci pour votre aide !