Étape 5
Items inventaire
Ajouts Items Inventaire
Pour que le scripts fonctionne correctement vous devez ajouter les items dans le fichier de configuration de votre inventaire.
ox_inventory
Copier et coller les items ce-dessous dans votre fichier de configuration qui se trouve dans : ox_inventory/data/items.lua
["pate_pizza"] = {
label = "Pate a pizza",
weight = 10,
stack = true,
close = true,
},
["farine"] = {
label = "Farine",
weight = 10,
stack = true,
close = true,
},
["levure_boulanger"] = {
label = "Levure Boulanger",
weight = 10,
stack = true,
close = true,
},
["huile_olive"] = {
label = "Huile d'olive",
weight = 10,
stack = true,
close = true,
},
["tomate"] = {
label = "Tomate",
weight = 10,
stack = true,
close = true,
},
["gruyere"] = {
label = "Gruyère",
weight = 10,
stack = true,
close = true,
},
["mozzarella"] = {
label = "Mozzarella",
weight = 10,
stack = true,
close = true,
},
["parmesan"] = {
label = "Parmesan",
weight = 10,
stack = true,
close = true,
},
["gorgonzola"] = {
label = "Gorgonzola",
weight = 10,
stack = true,
close = true,
},
["oeuf"] = {
label = "Oeuf",
weight = 10,
stack = true,
close = true,
},
["oignon"] = {
label = "Oignon",
weight = 10,
stack = true,
close = true,
},
["merguez"] = {
label = "Merguez",
weight = 10,
stack = true,
close = true,
},
["poivrons"] = {
label = "Poivron",
weight = 10,
stack = true,
close = true,
},
["viande_hachee"] = {
label = "Viande hachée",
weight = 10,
stack = true,
close = true,
},
["jambon"] = {
label = "Jambon",
weight = 10,
stack = true,
close = true,
},
["champignons"] = {
label = "Champignons",
weight = 10,
stack = true,
close = true,
},
["olives"] = {
label = "Olives",
weight = 10,
stack = true,
close = true,
},
------
["creme"] = {
label = "creme fraiche",
weight = 10,
stack = true,
close = true,
},
["ananas"] = {
label = "Ananas",
weight = 10,
stack = true,
close = true,
},
["anchois"] = {
label = "Anchois",
weight = 10,
stack = true,
close = true,
},
["chevre"] = {
label = "Fromage de chevre",
weight = 10,
stack = true,
close = true,
},
["thon"] = {
label = "Thon",
weight = 10,
stack = true,
close = true,
},
["crevettes "] = {
label = "Crevettes ",
weight = 10,
stack = true,
close = true,
},
["calamars"] = {
label = "Calamars",
weight = 10,
stack = true,
close = true,
},
["saucisses"] = {
label = "Saucisses ",
weight = 10,
stack = true,
close = true,
},
["bacon"] = {
label = "Bacon",
weight = 10,
stack = true,
close = true,
},
["escargots"] = {
label = "Escargots",
weight = 10,
stack = true,
close = true,
},
["pepperoni"] = {
label = "Pepperoni",
weight = 10,
stack = true,
close = true,
},
["poulet"] = {
label = "Poulet",
weight = 10,
stack = true,
close = true,
},
["roquette"] = {
label = "Roquette",
weight = 10,
stack = true,
close = true,
},
["capres"] = {
label = "Capres",
weight = 10,
stack = true,
close = true,
},
["salami"] = {
label = "Salami",
weight = 10,
stack = true,
close = true,
},
["truffes"] = {
label = "Truffes",
weight = 10,
stack = true,
close = true,
},
["miel"] = {
label = "Miel",
weight = 10,
stack = true,
close = true,
},
["margherita_cru"] = {
label = "Pizza Margherita crue",
weight = 100,
stack = true,
close = true,
},
-----
["4_fromage_cru"] = {
label = "Pizza 4 fromage crue",
weight = 100,
stack = true,
close = true,
},
["mergez_oeuf_cru"] = {
label = "Pizza Mergez crue",
weight = 100,
stack = true,
close = true,
},
["campione_cru"] = {
label = "Pizza campione crue",
weight = 100,
stack = true,
close = true,
},
["poivron_cru"] = {
label = "Pizza poivron crue",
weight = 100,
stack = true,
close = true,
},
["calzone_cru"] = {
label = "Pizza calzone crue",
weight = 100,
stack = true,
close = true,
},
-----
["margherita"] = {
label = "Pizza Margherita",
weight = 100,
stack = true,
close = true,
description = nil,
client = {
status = { hunger = 800000 },
anim = 'eating',
prop = 'knjgh_pizzaslice1',
usetime = 2500,
notification = 'Vous avez mangé une délicieuse pizza Margherita.'
}
},
["4_fromage"] = {
label = "Pizza 4 fromage",
weight = 100,
stack = true,
close = true,
description = nil,
client = {
status = { hunger = 800000 },
anim = 'eating',
prop = 'knjgh_pizzaslice1',
usetime = 2500,
notification = 'Vous avez mangé une délicieuse pizza 4 fromage.'
}
},
["mergez_oeuf"] = {
label = "Pizza Mergez",
weight = 100,
stack = true,
close = true,
description = nil,
client = {
status = { hunger = 800000 },
anim = 'eating',
prop = 'knjgh_pizzaslice1',
usetime = 2500,
notification = 'Vous avez mangé une délicieuse pizza Mergez.'
}
},
["campione"] = {
label = "Pizza Campione",
weight = 100,
stack = true,
close = true,
description = nil,
client = {
status = { hunger = 800000 },
anim = 'eating',
prop = 'knjgh_pizzaslice1',
usetime = 2500,
notification = 'Vous avez mangé une délicieuse pizza Campione.'
}
},
["poivron"] = {
label = "Pizza Poivron",
weight = 100,
stack = true,
close = true,
description = nil,
client = {
status = { hunger = 800000 },
anim = 'eating',
prop = 'knjgh_pizzaslice1',
usetime = 2500,
notification = 'Vous avez mangé une délicieuse pizza Poivron.'
}
},
["calzone"] = {
label = "Pizza Calzone",
weight = 100,
stack = true,
close = true,
description = nil,
client = {
status = { hunger = 800000 },
anim = 'eating',
prop = 'knjgh_pizzaslice1',
usetime = 2500,
notification = 'Vous avez mangé une délicieuse pizza Calzone.'
}
},
['boite_pizza'] = {
label = 'Boite a pizza',
weight = 220,
stack = false,
consume = 0,
client = {
export = 'esx_PizzaFour.openBackpackpizza'
}
},
qs_inventory
Copier et coller les items ce-dessous dans votre fichier de configuration qui se trouve dans : qs-inventory/shared/items.lua
["pate_pizza"] = {
["name"] = "pate_pizza",
["label"] = "Pate a pizza",
["weight"] = 10, ["type"] = "item",
["image"] = "pate_pizza.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Pate a pizza"
},
["farine"] = {
["name"] = "farine",
["label"] = "Farine",
["weight"] = 10, ["type"] = "item",
["image"] = "farine.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Farine"
},
["farine"] = {
["name"] = "farine",
["label"] = "Farine",
["weight"] = 10, ["type"] = "item",
["image"] = "farine.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Farine"
},
["levure_boulanger"] = {
["name"] = "levure_boulanger",
["label"] = "Levure Boulanger",
["weight"] = 10, ["type"] = "item",
["image"] = "levure_boulanger.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "levure_boulanger"
},
["huile_olive"] = {
["name"] = "huile_olive",
["label"] = "Huile d'olive",
["weight"] = 10, ["type"] = "item",
["image"] = "huile_olive.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Levure Boulanger"
},
["tomate"] = {
["name"] = "tomate",
["label"] = "Tomate",
["weight"] = 10, ["type"] = "item",
["image"] = "tomate.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Tomate"
},
["gruyere"] = {
["name"] = "gruyere",
["label"] = "Gruyere",
["weight"] = 10, ["type"] = "item",
["image"] = "gruyere.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Gruyere"
},
["mozzarella"] = {
["name"] = "mozzarella",
["label"] = "Mozzarella",
["weight"] = 10, ["type"] = "item",
["image"] = "mozzarella.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Mozzarella"
},
["parmesan"] = {
["name"] = "parmesan",
["label"] = "Parmesan",
["weight"] = 10, ["type"] = "item",
["image"] = "parmesan.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Parmesan"
},
["gorgonzola"] = {
["name"] = "gorgonzola",
["label"] = "Gorgonzola",
["weight"] = 10, ["type"] = "item",
["image"] = "gorgonzola.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Gorgonzola"
},
["oeuf"] = {
["name"] = "oeuf",
["label"] = "Oeuf",
["weight"] = 10, ["type"] = "item",
["image"] = "oeuf.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Oeuf"
},
["oignon"] = {
["name"] = "oignon",
["label"] = "Oignon",
["weight"] = 10, ["type"] = "item",
["image"] = "oignon.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Oignon"
},
["merguez"] = {
["name"] = "merguez",
["label"] = "Merguez",
["weight"] = 10, ["type"] = "item",
["image"] = "merguez.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Merguez"
},
["poivrons"] = {
["name"] = "poivrons",
["label"] = "Poivrons",
["weight"] = 10, ["type"] = "item",
["image"] = "poivrons.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Poivrons"
},
["viande_hachee"] = {
["name"] = "viande_hachee",
["label"] = "Viande hachée",
["weight"] = 10, ["type"] = "item",
["image"] = "viande_hachee.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Viande hachée"
},
["jambon"] = {
["name"] = "jambon",
["label"] = "Jambon",
["weight"] = 10, ["type"] = "item",
["image"] = "jambon.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Jambon"
},
["champignons"] = {
["name"] = "champignons",
["label"] = "Champignons",
["weight"] = 10, ["type"] = "item",
["image"] = "champignons.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Champignons"
},
["olives"] = {
["name"] = "olives",
["label"] = "Olives",
["weight"] = 10, ["type"] = "item",
["image"] = "olives.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Olives"
},
["creme"] = {
["name"] = "creme",
["label"] = "Creme fraiche",
["weight"] = 10, ["type"] = "item",
["image"] = "creme.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Creme fraiche"
},
["ananas"] = {
["name"] = "ananas",
["label"] = "Ananas",
["weight"] = 10, ["type"] = "item",
["image"] = "ananas.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Ananas"
},
["anchois"] = {
["name"] = "anchois",
["label"] = "Anchois",
["weight"] = 10, ["type"] = "item",
["image"] = "anchois.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Anchois"
},
["chevre"] = {
["name"] = "chevre",
["label"] = "Chevre",
["weight"] = 10, ["type"] = "item",
["image"] = "chevre.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Chevre"
},
["thon"] = {
["name"] = "thon",
["label"] = "Thon",
["weight"] = 10, ["type"] = "item",
["image"] = "thon.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Thon"
},
["crevettes"] = {
["name"] = "crevettes",
["label"] = "Crevettes",
["weight"] = 10, ["type"] = "item",
["image"] = "crevettes.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Crevettes"
},
["calamars"] = {
["name"] = "calamars",
["label"] = "Calamars",
["weight"] = 10, ["type"] = "item",
["image"] = "calamars.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Calamars"
},
["saucisses"] = {
["name"] = "saucisses",
["label"] = "Saucisses",
["weight"] = 10, ["type"] = "item",
["image"] = "saucisses.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Saucisses"
},
["bacon"] = {
["name"] = "bacon",
["label"] = "Bacon",
["weight"] = 10, ["type"] = "item",
["image"] = "bacon.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Bacon"
},
["escargots"] = {
["name"] = "escargots",
["label"] = "Escargots",
["weight"] = 10, ["type"] = "item",
["image"] = "escargots.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Escargots"
},
["pepperoni"] = {
["name"] = "pepperoni",
["label"] = "Pepperoni",
["weight"] = 10, ["type"] = "item",
["image"] = "pepperoni.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Pepperoni"
},
["poulet"] = {
["name"] = "poulet",
["label"] = "Poulet",
["weight"] = 10, ["type"] = "item",
["image"] = "poulet.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Poulet"
},
["roquette"] = {
["name"] = "roquette",
["label"] = "Roquette",
["weight"] = 10, ["type"] = "item",
["image"] = "roquette.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Roquette"
},
["capres"] = {
["name"] = "capres",
["label"] = "Capres",
["weight"] = 10, ["type"] = "item",
["image"] = "capres.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Capres"
},
["salami"] = {
["name"] = "salami",
["label"] = "Salami",
["weight"] = 10, ["type"] = "item",
["image"] = "salami.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Salami"
},
["truffes"] = {
["name"] = "truffes",
["label"] = "Truffes",
["weight"] = 10, ["type"] = "item",
["image"] = "truffes.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Truffes"
},
["miel"] = {
["name"] = "miel",
["label"] = "Miel",
["weight"] = 10, ["type"] = "item",
["image"] = "miel.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Miel"
},
["margherita_cru"] = {
["name"] = "margherita_cru",
["label"] = "Pizza Margherita crue",
["weight"] = 10, ["type"] = "item",
["image"] = "margherita_cru.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Pizza Margherita crue"
},
["4_fromage_cru"] = {
["name"] = "4_fromage_cru",
["label"] = "Pizza 4 fromage crue",
["weight"] = 10, ["type"] = "item",
["image"] = "4_fromage_cru.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Pizza 4 fromage crue"
},
["mergez_oeuf_cru"] = {
["name"] = "mergez_oeuf_cru",
["label"] = "Pizza Mergez crue",
["weight"] = 10, ["type"] = "item",
["image"] = "mergez_oeuf_cru.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Pizza Mergez crue"
},
["campione_cru"] = {
["name"] = "campione_cru",
["label"] = "Pizza campione crue",
["weight"] = 10, ["type"] = "item",
["image"] = "campione_cru.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Pizza campione crue"
},
["poivron_cru"] = {
["name"] = "poivron_cru",
["label"] = "Pizza poivron crue",
["weight"] = 10, ["type"] = "item",
["image"] = "poivron_cru.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Pizza poivron crue"
},
["calzone_cru"] = {
["name"] = "calzone_cru",
["label"] = "Pizza calzone crue",
["weight"] = 10, ["type"] = "item",
["image"] = "calzone_cru.png",
["unique"] = true,
["useable"] = false,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Pizza calzone crue"
},
['margherita'] = {
['name'] = 'margherita',
['label'] = 'Pizza Margherita',
['weight'] = 200,
['type'] = 'item',
['image'] = 'margherita.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Pizza Margherita',
['created'] = nil,
['decay'] = 0.07,
['delete'] = false,
['object'] = 'prop_sandwich_01',
['client'] = {
status = {
hunger = 200000,
},
usetime = 2500,
anim = {
dict = 'mp_player_inteat@burger',
clip = 'mp_player_int_eat_burger_fp'
},
prop = {
model = 'prop_cs_burger_01',
pos = vec3(0.02, 0.02, -0.02),
rot = vec3(0.0, 0.0, 0.0)
},
disable = {
move = true,
car = true,
mouse = false,
combat = true,
},
removeAfterUse = true
}
},
['4_fromage'] = {
['name'] = '4_fromage',
['label'] = 'Pizza 4 fromage',
['weight'] = 200,
['type'] = 'item',
['image'] = '4_fromage.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Pizza 4 fromage',
['created'] = nil,
['decay'] = 0.07,
['delete'] = false,
['object'] = 'prop_sandwich_01',
['client'] = {
status = {
hunger = 200000,
},
usetime = 2500,
anim = {
dict = 'mp_player_inteat@burger',
clip = 'mp_player_int_eat_burger_fp'
},
prop = {
model = 'prop_cs_burger_01',
pos = vec3(0.02, 0.02, -0.02),
rot = vec3(0.0, 0.0, 0.0)
},
disable = {
move = true,
car = true,
mouse = false,
combat = true,
},
removeAfterUse = true
}
},
['mergez_oeuf'] = {
['name'] = 'mergez_oeuf',
['label'] = 'Pizza Mergez Oeuf',
['weight'] = 200,
['type'] = 'item',
['image'] = 'mergez_oeuf.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Pizza Mergez Oeuf',
['created'] = nil,
['decay'] = 0.07,
['delete'] = false,
['object'] = 'prop_sandwich_01',
['client'] = {
status = {
hunger = 200000,
},
usetime = 2500,
anim = {
dict = 'mp_player_inteat@burger',
clip = 'mp_player_int_eat_burger_fp'
},
prop = {
model = 'prop_cs_burger_01',
pos = vec3(0.02, 0.02, -0.02),
rot = vec3(0.0, 0.0, 0.0)
},
disable = {
move = true,
car = true,
mouse = false,
combat = true,
},
removeAfterUse = true
}
},
['campione'] = {
['name'] = 'campione',
['label'] = 'Pizza Campione',
['weight'] = 200,
['type'] = 'item',
['image'] = 'campione.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Pizza Campione',
['created'] = nil,
['decay'] = 0.07,
['delete'] = false,
['object'] = 'prop_sandwich_01',
['client'] = {
status = {
hunger = 200000,
},
usetime = 2500,
anim = {
dict = 'mp_player_inteat@burger',
clip = 'mp_player_int_eat_burger_fp'
},
prop = {
model = 'prop_cs_burger_01',
pos = vec3(0.02, 0.02, -0.02),
rot = vec3(0.0, 0.0, 0.0)
},
disable = {
move = true,
car = true,
mouse = false,
combat = true,
},
removeAfterUse = true
}
},
['poivron'] = {
['name'] = 'poivron',
['label'] = 'Pizza Poivron',
['weight'] = 200,
['type'] = 'item',
['image'] = 'poivron.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Pizza Poivron',
['created'] = nil,
['decay'] = 0.07,
['delete'] = false,
['object'] = 'prop_sandwich_01',
['client'] = {
status = {
hunger = 200000,
},
usetime = 2500,
anim = {
dict = 'mp_player_inteat@burger',
clip = 'mp_player_int_eat_burger_fp'
},
prop = {
model = 'prop_cs_burger_01',
pos = vec3(0.02, 0.02, -0.02),
rot = vec3(0.0, 0.0, 0.0)
},
disable = {
move = true,
car = true,
mouse = false,
combat = true,
},
removeAfterUse = true
}
},
['calzone'] = {
['name'] = 'calzone',
['label'] = 'Pizza Calzone',
['weight'] = 200,
['type'] = 'item',
['image'] = 'calzone.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'Pizza Calzone',
['created'] = nil,
['decay'] = 0.07,
['delete'] = false,
['object'] = 'prop_sandwich_01',
['client'] = {
status = {
hunger = 200000,
},
usetime = 2500,
anim = {
dict = 'mp_player_inteat@burger',
clip = 'mp_player_int_eat_burger_fp'
},
prop = {
model = 'prop_cs_burger_01',
pos = vec3(0.02, 0.02, -0.02),
rot = vec3(0.0, 0.0, 0.0)
},
disable = {
move = true,
car = true,
mouse = false,
combat = true,
},
removeAfterUse = true
}
},
["boite_pizza"] = {
["name"] = "boite_pizza",
["label"] = "Boite a pizza",
["weight"] = 10, ["type"] = "item",
["image"] = "boite_pizza.png",
["unique"] = true,
["useable"] = true,
["shouldClose"] = false,
["combinable"] = nil,
["description"] = "Boite a pizza"
},
Last updated