- Initiateur de la discussion
X
Xitrine
Nouveau né
- Messages
- 18
- Score réaction
- 1
- Points
- 15
Bonjour,
j'ai un bug avec mes caisses d'armes quand la caisse est entièrement je "déballe" l'arme et quand elle drop par terre j'ai un error lua..
[ERROR] A runtime error has occurred in "[C]" on line -1.
The best help I can give you is this:
spawned_weapon has model "models/weapons/w_1911.mdl" with no physics and will be motionless
Hints:
- Does this model have an associated physics model (modelname.phy)?
- Is this model supposed to have physics? Many models, like effects and view models aren't made to have physics
- The issue lies with weapon "fas2_m4a1"
The responsibility for the error above lies with (the authors of) one (or more) of these files:
1. function 'Spawn'
2. gamemodes/darkrp/entities/entities/spawned_shipment/init.lua on line 141
3. gamemodes/darkrp/entities/entities/spawned_shipment/init.lua on line 105
---------------------------------------------------------------------------
Voici ce que j'ai écrit pour avoir l'am (J'ai changé l'entité mais sa n'a pas marché)
DarkRP.createShipment("M1911 |.45 ACP|", {
model = "models/weapons/w_1911.mdl",
entity = "fas2_m4a1",
amount = 1,
price = 6000,
separate = false,
pricesep = 0,
noship = false,
category = "Pistolet",
allowed = {TEAM_VENDEURD}
})
j'ai un bug avec mes caisses d'armes quand la caisse est entièrement je "déballe" l'arme et quand elle drop par terre j'ai un error lua..
[ERROR] A runtime error has occurred in "[C]" on line -1.
The best help I can give you is this:
spawned_weapon has model "models/weapons/w_1911.mdl" with no physics and will be motionless
Hints:
- Does this model have an associated physics model (modelname.phy)?
- Is this model supposed to have physics? Many models, like effects and view models aren't made to have physics
- The issue lies with weapon "fas2_m4a1"
The responsibility for the error above lies with (the authors of) one (or more) of these files:
1. function 'Spawn'
2. gamemodes/darkrp/entities/entities/spawned_shipment/init.lua on line 141
3. gamemodes/darkrp/entities/entities/spawned_shipment/init.lua on line 105
---------------------------------------------------------------------------
Voici ce que j'ai écrit pour avoir l'am (J'ai changé l'entité mais sa n'a pas marché)
DarkRP.createShipment("M1911 |.45 ACP|", {
model = "models/weapons/w_1911.mdl",
entity = "fas2_m4a1",
amount = 1,
price = 6000,
separate = false,
pricesep = 0,
noship = false,
category = "Pistolet",
allowed = {TEAM_VENDEURD}
})