Install Instructions
Follow the steps below to install this resource to your server.
1
2
Add items
Open the [install] folder and add the items & their images to your inventory
--[FOOD INGREDIENTS]--
["cheese"] = { ["name"] = "cheese", ["label"] = "Cheese Slices", ["weight"] = 10, ["type"] = "item", ["image"] = "cheese.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["mozzarella"] = { ["name"] = "mozzarella", ["label"] = "Mozzarella", ["weight"] = 10, ["type"] = "item", ["image"] = "mozzarella.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["lettuce"] = { ["name"] = "lettuce", ["label"] = "Lettuce", ["weight"] = 10, ["type"] = "item", ["image"] = "lettuce.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["mushrooms"] = { ["name"] = "mushrooms", ["label"] = "Mushrooms", ["weight"] = 10, ["type"] = "item", ["image"] = "mushrooms.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["ham"] = { ["name"] = "ham", ["label"] = "Ham", ["weight"] = 10, ["type"] = "item", ["image"] = "ham.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["meat"] = { ["name"] = "meat", ["label"] = "Meat", ["weight"] = 10, ["type"] = "item", ["image"] = "meat.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["pepperoni"] = { ["name"] = "pepperoni", ["label"] = "Pepperoni", ["weight"] = 10, ["type"] = "item", ["image"] = "pepperoni.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["seafoodmix"] = { ["name"] = "seafoodmix", ["label"] = "Seafood Mix", ["weight"] = 10, ["type"] = "item", ["image"] = "seafoodmix.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["tomato"] = { ["name"] = "tomato", ["label"] = "Tomatos", ["weight"] = 10, ["type"] = "item", ["image"] = "tomato.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["tomatosauce"] = { ["name"] = "tomatosauce", ["label"] = "Tomato Sauce", ["weight"] = 10, ["type"] = "item", ["image"] = "tomatosauce.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["oil"] = { ["name"] = "oil", ["label"] = "Oil", ["weight"] = 10, ["type"] = "item", ["image"] = "oil.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["flour"] = { ["name"] = "flour", ["label"] = "Flour", ["weight"] = 10, ["type"] = "item", ["image"] = "flour.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["sugar"] = { ["name"] = "sugar", ["label"] = "Sugar", ["weight"] = 10, ["type"] = "item", ["image"] = "sugar.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["salt"] = { ["name"] = "salt", ["label"] = "Salt", ["weight"] = 10, ["type"] = "item", ["image"] = "salt.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["dough"] = { ["name"] = "dough", ["label"] = "Dough", ["weight"] = 10, ["type"] = "item", ["image"] = "dough.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["pizzabase"] = { ["name"] = "pizzabase", ["label"] = "Pizza Base", ["weight"] = 100, ["type"] = "item", ["image"] = "pizzabase.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Buttom of a pizza" },
["durumbase"] = { ["name"] = "durumbase", ["label"] = "Durum Base", ["weight"] = 100, ["type"] = "item", ["image"] = "durumbase.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Wrap for a durum" },
--[FOOD]--
["veganpizza"] = { ["name"] = "veganpizza", ["label"] = "Vegan Pizza", ["weight"] = 10, ["type"] = "item", ["image"] = "veganpizza.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["margharita"] = { ["name"] = "margharita", ["label"] = "Margharita Pizza", ["weight"] = 10, ["type"] = "item", ["image"] = "margharita.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["napollitano"] = { ["name"] = "napollitano", ["label"] = "Napollitano Pizza", ["weight"] = 10, ["type"] = "item", ["image"] = "napollitano.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["mushroompizza"] = { ["name"] = "mushroompizza", ["label"] = "Mushroom Pizza", ["weight"] = 10, ["type"] = "item", ["image"] = "mushroompizza.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["oceanpizza"] = { ["name"] = "oceanpizza", ["label"] = "Ocean Pizza", ["weight"] = 10, ["type"] = "item", ["image"] = "oceanpizza.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["deeppan"] = { ["name"] = "deeppan", ["label"] = "Deep Pan Pizza", ["weight"] = 10, ["type"] = "item", ["image"] = "deeppan.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["durum"] = { ["name"] = "durum", ["label"] = "Durum", ["weight"] = 10, ["type"] = "item", ["image"] = "durum.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
--[DRINKS]--
["milkshake"] = { ["name"] = "milkshake", ["label"] = "Milkshake", ["weight"] = 10, ["type"] = "item", ["image"] = "milkshake.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Drink" },
["soda"] = { ["name"] = "soda", ["label"] = "Soda", ["weight"] = 10, ["type"] = "item", ["image"] = "soda.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Drink" },3
Add jobs
Open the [install] folder and add the jobs to your core resource
-- [Install into: qb-core/shared/jobs.lua] --
pizzathis = {
label = 'Pizza This',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = { name = 'Helper', payment = 30 },
['1'] = { name = 'Cook', payment = 40 },
['2'] = { name = 'Bartender', payment = 50 },
['3'] = { name = 'Manager', payment = 60 },
['4'] = { name = 'Boss', isboss = true, payment = 70 },
},
},-- [Install into: qbx_core/shared/jobs.lua] --
['pizzathis'] = {
label = 'Pizza This',
defaultDuty = true,
offDutyPay = false,
grades = {
[0] = {
name = 'Helper',
payment = 30
},
[1] = {
name = 'Cook',
payment = 40
},
[2] = {
name = 'Bartender',
payment = 50
},
[3] = {
name = 'Manager',
payment = 60
},
[4] = {
name = 'Boss',
isboss = true,
bankAuth = true,
payment = 70
},
},
},Upon completion, do not delete the [install] folder or any .sql files or you will experience errors.
Last updated