Apex Studios
StoreDiscordGithubYoutube
  • Introduction
  • Premium Resources
    • 🍔Apex Burgershot
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 🍏Apex Bite
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • ☕Apex Café Coretto
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 🐱Apex Cat Cafe
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 🔔Apex Cluckin' Bell
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 💎Apex Emerald
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 😈Apex Horny's Burger
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 🐟Apex Koi Restaurant
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 🍜Apex Noodle Exchange
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 🐚Apex Pearls Seafood
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
    • 🍕Apex Pizza This
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
  • 🦕Apex Rex Diner
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🍩Apex Rusty Brown
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🍔Apex Snr Buns
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • ⚛️Apex Up 'N' Atom
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 👠Apex Bahama Mamas
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🏖️Apex Beach Club
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🪵Apex Blackwood Saloon
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • ♣️Apex Club77
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🥥Apex Malibu Club
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🔲Apex Matrix
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🌠Apex Galaxy
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
    • 🌠Apex Haute
      • Install Instructions
      • Exports
      • Common Issues
      • Product Page
  • 🐦Apex Peckerwood
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🍺Apex Tequi-la-la
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🦄Apex Vanilla Unicorn
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • 🟡Apex Yellow Jack
    • Install Instructions
    • Exports
    • Common Issues
    • Product Page
  • Additional Guides
    • Page 1
  • Frequently Asked Question
    • FAQ
Powered by GitBook
On this page
  1. Premium Resources
  2. Apex Pizza This

Install Instructions

PreviousApex Pizza ThisNextExports

Last updated 29 days ago


Follow the steps below to install this resource to your server.

1

Install dependencies

Verify all dependencies below are started before this script in your server.cfg.

Install (or update) all dependencies below:

  1. apex_lib (Included with the purchases - Please check your keymaster)

2

Add items

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]--
["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" },
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('cheese', 'Cheese Slices', 10, 0, 1),
('mozzarella', 'Mozzarella', 10, 0, 1),
('lettuce', 'Lettuce', 10, 0, 1),
('mushrooms', 'Mushrooms', 10, 0, 1),
('ham', 'Ham', 10, 0, 1),
('meat', 'Meat', 10, 0, 1),
('pepperoni', 'Pepperoni', 10, 0, 1),
('seafoodmix', 'Seafood Mix', 10, 0, 1),
('tomato', 'Tomatos', 10, 0, 1),
('tomatosauce', 'Tomato Sauce', 10, 0, 1),
('oil', 'Oil', 10, 0, 1),
('flour', 'Flour', 10, 0, 1),
('sugar', 'Sugar', 10, 0, 1),
('salt', 'Salt', 10, 0, 1),
('dough', 'Dough', 10, 0, 1),
('pizzabase', 'Pizza Base', 10, 0, 1),
('durumbase', 'Durum Base', 10, 0, 1),
('veganpizza', 'Vegan Pizza', 10, 0, 1),
('margharita', 'Margharita Pizza', 10, 0, 1),
('napollitano', 'Napollitano Pizza', 10, 0, 1),
('mushroompizza', 'Mushroom Pizza', 10, 0, 1),
('oceanpizza', 'Ocean Pizza', 10, 0, 1),
('deeppan', 'Deep Pan Pizza', 10, 0, 1),
('durum', 'Durum', 10, 0, 1),
('milkshake', 'Milkshake', 10, 0, 1),
('soda', 'Soda', 10, 0, 1);
3

Add jobs

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] --
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
            },
        },
    },
INSERT INTO `jobs` (name, label) VALUES
('pizzathis', 'Pizza This');

INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('pizzathis', 0, 'helper', 'Helper', 30, '{}', '{}'),
('pizzathis', 1, 'bartender', 'bartender', 40, '{}', '{}'),
('pizzathis', 2, 'cook', 'Cook', 50, '{}', '{}'),
('pizzathis', 3, 'manager', 'Manager', 60, '{}', '{}'),
('pizzathis', 4, 'boss', 'Boss', 70, '{}', '{}');
4

Restart server

  • Add this script into your main resources directory (usually ../resources)

  • Open server.cfg and add start or ensure apex_bite

  • Restart your server.

Upon completion, do not delete the [install] folder or any .sql files or you will experience errors.

🍕
oxmysql
ox_lib