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.
-- Ingredients
["bacon"] = { ["name"] = "bacon", ["label"] = "Bacon", ["weight"] = 10, ["type"] = "item", ["image"] = "bacon.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" },
["clams"] = { ["name"] = "clams", ["label"] = "Clams", ["weight"] = 10, ["type"] = "item", ["image"] = "clams.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["crab"] = { ["name"] = "crab", ["label"] = "Crab", ["weight"] = 10, ["type"] = "item", ["image"] = "crab.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["lobster"] = { ["name"] = "lobster", ["label"] = "Lobster", ["weight"] = 10, ["type"] = "item", ["image"] = "lobster.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["garlic"] = { ["name"] = "garlic", ["label"] = "Garlic", ["weight"] = 10, ["type"] = "item", ["image"] = "garlic.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" },
["oil"] = { ["name"] = "oil", ["label"] = "Oil", ["weight"] = 10, ["type"] = "item", ["image"] = "oil.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
["shrimps"] = { ["name"] = "shrimps", ["label"] = "Shrimps", ["weight"] = 10, ["type"] = "item", ["image"] = "shrimps.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" },
["tuna"] = { ["name"] = "tuna", ["label"] = "Tuna", ["weight"] = 10, ["type"] = "item", ["image"] = "tuna.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Ingredients" },
-- Food
["chowder"] = { ["name"] = "chowder", ["label"] = "Corn and Fish Chowder", ["weight"] = 10, ["type"] = "item", ["image"] = "chowder.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["salmonburger"] = { ["name"] = "salmonburger", ["label"] = "Ultimate Salmon Burger", ["weight"] = 10, ["type"] = "item", ["image"] = "salmonburger.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["crabdish"] = { ["name"] = "crabdish", ["label"] = "King Crab", ["weight"] = 10, ["type"] = "item", ["image"] = "crabdish.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["grilledlobster"] = { ["name"] = "grilledlobster", ["label"] = "Grilled Lobster", ["weight"] = 10, ["type"] = "item", ["image"] = "grilledlobster.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["shrimppo_boy"] = { ["name"] = "shrimppo_boy", ["label"] = "Shrimp Po Boy", ["weight"] = 10, ["type"] = "item", ["image"] = "shrimppo_boy.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["clamsdish"] = { ["name"] = "clamsdish", ["label"] = "California Clams", ["weight"] = 10, ["type"] = "item", ["image"] = "clamsdish.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["ceviche"] = { ["name"] = "ceviche", ["label"] = "Ceviche", ["weight"] = 10, ["type"] = "item", ["image"] = "ceviche.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Food" },
["tunadish"] = { ["name"] = "tunadish", ["label"] = "Tuna", ["weight"] = 10, ["type"] = "item", ["image"] = "tunadish.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" },
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('bacon', 'Bacon', 10, 0, 1),
('bun', 'Buns', 10, 0, 1),
('cheese', 'Cheese Slices', 10, 0, 1),
('clams', 'Clams', 10, 0, 1),
('crab', 'Crab', 10, 0, 1),
('lobster', 'Lobster', 10, 0, 1),
('garlic', 'Garlic', 10, 0, 1),
('lettuce', 'Lettuce', 10, 0, 1),
('mushrooms', 'Mushrooms', 10, 0, 1),
('oil', 'Oil', 10, 0, 1),
('shrimps', 'Shrimps', 10, 0, 1),
('tomato', 'Tomatos', 10, 0, 1),
('tuna', 'Tuna', 10, 0, 1),
('chowder', 'Corn and Fish Chowder', 10, 0, 1),
('salmon_burger', 'Ultimate Salmon Burger', 10, 0, 1),
('crabdish', 'King Crab', 10, 0, 1),
('grilled_lobster', 'Grilled Lobster', 10, 0, 1),
('shrimp_po_boy', 'Shrimp Po Boy', 10, 0, 1),
('clamsdish', 'California Clams', 10, 0, 1),
('ceviche', 'Ceviche', 10, 0, 1),
('tunadish', 'Tuna', 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] --
pearls = {
label = 'Pearls Seafoods',
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] --
['pearls'] = {
label = 'Pearls Seafoods',
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
('pearls', 'Pearls Seafoods');
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('pearls', 0, 'helper', 'Helper', 30, '{}', '{}'),
('pearls', 1, 'bartender', 'bartender', 40, '{}', '{}'),
('pearls', 2, 'cook', 'Cook', 50, '{}', '{}'),
('pearls', 3, 'manager', 'Manager', 60, '{}', '{}'),
('pearls', 4, 'boss', 'Boss', 70, '{}', '{}');
Upon completion, do not delete the [install]
folder or any .sql
files or you will experience errors.