Install Instructions
Last updated
Last updated
Follow the steps below to install this resource to your server.
Open the [install]
folder and add the items
& their images
to your inventory
Are you on esx - Remember to add the .sql
to your database.
--[FOOD INGREDIENTS]--
["bacon"] = { ["name"] = "bacon", ["label"] = "Bacon", ["weight"] = 10, ["type"] = "item", ["image"] = "bacon.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["beef"] = { ["name"] = "beef", ["label"] = "Beef", ["weight"] = 10, ["type"] = "item", ["image"] = "beef.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["beefraw"] = { ["name"] = "beefraw", ["label"] = "Raw Beef", ["weight"] = 10, ["type"] = "item", ["image"] = "beefraw.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["bun"] = { ["name"] = "bun", ["label"] = "Buns", ["weight"] = 10, ["type"] = "item", ["image"] = "bun.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["cheese"] = { ["name"] = "cheese", ["label"] = "Cheese Slices", ["weight"] = 10, ["type"] = "item", ["image"] = "cheese.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" },
["onion"] = { ["name"] = "onion", ["label"] = "Onion", ["weight"] = 10, ["type"] = "item", ["image"] = "onion.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["onionslice"] = { ["name"] = "onionslice", ["label"] = "Onion Slices", ["weight"] = 10, ["type"] = "item", ["image"] = "onionslice.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" },
["frozenfries"] = { ["name"] = "frozenfries", ["label"] = "Frozen Fries", ["weight"] = 10, ["type"] = "item", ["image"] = "frozenfries.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["frozennuggets"] = { ["name"] = "frozennuggets", ["label"] = "Frozen Nuggets", ["weight"] = 10, ["type"] = "item", ["image"] = "frozennuggets.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
--[FOOD]--
["fries"] = { ["name"] = "fries", ["label"] = "French Fries", ["weight"] = 10, ["type"] = "item", ["image"] = "fries.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["nuggets"] = { ["name"] = "nuggets", ["label"] = "Chicken Nuggets", ["weight"] = 10, ["type"] = "item", ["image"] = "nuggets.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["onionrings"] = { ["name"] = "onionrings", ["label"] = "Onion Rings", ["weight"] = 10, ["type"] = "item", ["image"] = "onionrings.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["bleeder"] = { ["name"] = "bleeder", ["label"] = "Bleeder", ["weight"] = 10, ["type"] = "item", ["image"] = "bleeder.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["moneyshot"] = { ["name"] = "moneyshot", ["label"] = "Money Shot", ["weight"] = 10, ["type"] = "item", ["image"] = "moneyshot.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["heartstopper"] = { ["name"] = "heartstopper", ["label"] = "Heart Stopper", ["weight"] = 10, ["type"] = "item", ["image"] = "heartstopper.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["torpedo"] = { ["name"] = "torpedo", ["label"] = "Torpedo", ["weight"] = 10, ["type"] = "item", ["image"] = "torpedo.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
--[DRINKS]--
["icecream"] = { ["name"] = "icecream", ["label"] = "Ice Cream", ["weight"] = 10, ["type"] = "item", ["image"] = "icecream.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Drink" },
["creamy"] = { ["name"] = "creamy", ["label"] = "Creamy", ["weight"] = 10, ["type"] = "item", ["image"] = "creamy.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Drink" },
["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" },
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('bacon', 'Bacon', 10, 0, 1),
('beef', 'Beef', 10, 0, 1),
('beefraw', 'Raw Beef', 10, 0, 1),
('bun', 'Buns', 10, 0, 1),
('cheese', 'Cheese Slices', 10, 0, 1),
('lettuce', 'Lettuce', 10, 0, 1),
('onion', 'onion', 10, 0, 1),
('onionslice', 'Onion Slices', 10, 0, 1),
('tomato', 'Tomatos', 10, 0, 1),
('frozenfries', 'Frozen Fries', 10, 0, 1),
('frozennuggets', 'Frozen Nuggets', 10, 0, 1),
('fries', 'French Fries', 10, 0, 1),
('nuggets', 'Chicken Nuggets', 10, 0, 1),
('onionrings', 'Onion Rings', 10, 0, 1),
('bleeder', 'Bleeder', 10, 0, 1),
('moneyshot', 'Money Shot', 10, 0, 1),
('heartstopper', 'Heart Stopper', 10, 0, 1),
('torpedo', 'Torpedo', 10, 0, 1),
('icecream', 'Ice Cream', 10, 0, 1),
('creamy', 'Creamy', 10, 0, 1),
('milkshake', 'Milkshake', 10, 0, 1),
('soda', 'Soda', 10, 0, 1);
Open the [install]
folder and add the jobs
to your core resource
Are you on esx - Remember to add the .sql
to your database.
-- [Install into: qb-core/shared/jobs.lua] --
hornys = {
label = 'Hornys Burger',
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] --
['hornys'] = {
label = 'Hornys Burger',
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
},
},
},
INSERT INTO `jobs` (name, label) VALUES
('hornys', 'Hornys Burger');
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('hornys', 0, 'helper', 'Helper', 30, '{}', '{}'),
('hornys', 1, 'bartender', 'bartender', 40, '{}', '{}'),
('hornys', 2, 'cook', 'Cook', 50, '{}', '{}'),
('hornys', 3, 'manager', 'Manager', 60, '{}', '{}'),
('hornys', 4, 'boss', 'Boss', 70, '{}', '{}');
Upon completion, do not delete the [install]
folder or any .sql
files or you will experience errors.