- Initiateur de la discussion
 
  iforever
Geek
- Messages
- 3
- Score réaction
- 0
- Points
- 70
RÉSOLU !!!
 
Bonjour,
 
Je réouvre mon ancien serveur qui était avec un hebergeur "normal", et cette fois-ci sous vps.
Bref je m'égare.
 
J'ai un problème que je n'est jamais rencontré, la création de shipment d'arme m'est impossible.
 
Voici les lignes en question :
 
                      
Voici l'erreur quand je rentre dans mon serveur :
 
       
J'ai pourtant créer ma catégorie couteaux dans le categories.lua, la voici :
 
                      
Merci d'avance de votre aide !
 Bonjour,
Je réouvre mon ancien serveur qui était avec un hebergeur "normal", et cette fois-ci sous vps.
Bref je m'égare.
J'ai un problème que je n'est jamais rencontré, la création de shipment d'arme m'est impossible.
Voici les lignes en question :
  Code:  
 DarkRP.createShipment("DV", { model = "models/weapons/w_knife_t.mdl", entity = "fas2_dv2", price = 1000, amout = 1, separate = false, pricesep = 1000, noship = false, allowed = {TEAM_GUN}, shipmodel = "models/items/item_item_crate.mdl", category = "Couteaux",
})Voici l'erreur quand je rentre dans mon serveur :
[ERROR] A runtime error has occurred in "addons/darkrpmodification-master/lua/darkrp_customthings/shipments.lua" on line 21.
The best help I can give you is this:
 
Corrupt shipment: DV!
The amount must be a number and it must be greater than zero.
 
Hints:
- No hints, sorry.
 
The responsibility for the error above lies with (the authors of) one (or more) of these files:
1. addons/darkrpmodification-master/lua/darkrp_customthings/shipments.lua on line 21
2. function 'xpcall'
3. gamemodes/darkrp/gamemode/libraries/simplerr.lua on line 477
4. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
5. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
6. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
7. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
8. gamemodes/darkrp/gamemode/init.lua on line 111
------- End of Simplerr error -------
 The best help I can give you is this:
Corrupt shipment: DV!
The amount must be a number and it must be greater than zero.
Hints:
- No hints, sorry.
The responsibility for the error above lies with (the authors of) one (or more) of these files:
1. addons/darkrpmodification-master/lua/darkrp_customthings/shipments.lua on line 21
2. function 'xpcall'
3. gamemodes/darkrp/gamemode/libraries/simplerr.lua on line 477
4. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
5. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84
6. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137
7. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148
8. gamemodes/darkrp/gamemode/init.lua on line 111
------- End of Simplerr error -------
J'ai pourtant créer ma catégorie couteaux dans le categories.lua, la voici :
  Code:  
 DarkRP.createCategory{ name = "Couteaux", categorises = "shipments", startExpanded = true, canSee = function(ply) return table.HasValue({TEAM_GUN}, ply:Team()) end, color = Color(0, 107, 0, 255),
}Merci d'avance de votre aide !
 Dernière édition:  
  
  
  
  
 