Installation

Step 1

Make Sure all the dependencies are installed.

Required

ox_lib

ox-target or qb-target

Step 2

Adjust config.lua according to your liking

Make sure to set your target, clothing, billing, inventory script

Step 3

Now execute this query into your server database using heidisql or phpmyadmin.

CREATE TABLE IF NOT EXISTS `pl_hornyburgers` (
  `stock` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=armscii8 COLLATE=armscii8_bin;

INSERT INTO `addon_account` (name, label, shared) VALUES
	('society_hornyburgers', 'Horny Burgers', 1);

INSERT INTO `datastore` (name, label, shared) VALUES
	('society_hornyburgers', 'Horny Burgers', 1);

INSERT INTO `jobs` (name, label,whitelisted) VALUES
	('hornyburgers', 'Horny Burgers',1)
;

INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
	('hornyburgers',0,'cashier','Cashier',20,'{}','{}'),
	('hornyburgers',1,'cook','Cook',40,'{}','{}'),
	('hornyburgers',2,'staff','Staff',60,'{}','{}'),
	('hornyburgers',3,'manager','Manager',85,'{}','{}'),
	('hornyburgers',4,'boss','Owner',100,'{}','{}')
;

Step 4

Add the items into your server

Add the Following Items in ox_inventory/data/items.lua

["hb_classic_burger"] = {
    label = "Classic Burger",
    weight = 1,
    stack = true,
    close = true,
},
["hb_spicy_burger"] = {
    label = "Spicy Burger",
    weight = 1,
    stack = true,
    close = true,
},
["hb_cheesy_burger"] = {
    label = "Cheesy Burger",
    weight = 1,
    stack = true,
    close = true,
},
["hb_bacon_burger"] = {
    label = "Bacon Burger",
    weight = 1,
    stack = true,
    close = true,
},
["hb_double_burger"] = {
    label = "Double Burger",
    weight = 1,
    stack = true,
    close = true,
},
["hb_milkshake"] = {
    label = "Milkshake",
    weight = 1,
    stack = true,
    close = true,
},
["hb_lemonade"] = {
    label = "Lemonade",
    weight = 1,
    stack = true,
    close = true,
},
["hb_iced_coffee"] = {
    label = "Iced Coffee",
    weight = 1,
    stack = true,
    close = true,
},
["hb_smoothie"] = {
    label = "Smoothie",
    weight = 1,
    stack = true,
    close = true,
},
["hb_energy_drink"] = {
    label = "Energy Drink",
    weight = 1,
    stack = true,
    close = true,
},
["hb_classic_fries"] = {
    label = "Classic Fries",
    weight = 1,
    stack = true,
    close = true,
},
["hb_cheesy_fries"] = {
    label = "Cheesy Fries",
    weight = 1,
    stack = true,
    close = true,
},
["hb_spicy_fries"] = {
    label = "Spicy Fries",
    weight = 1,
    stack = true,
    close = true,
},
["hb_bacon_fries"] = {
    label = "Bacon Fries",
    weight = 1,
    stack = true,
    close = true,
},
["hb_loaded_fries"] = {
    label = "Loaded Fries",
    weight = 1,
    stack = true,
    close = true,
},
["hb_cola"] = {
    label = "Cola",
    weight = 1,
    stack = true,
    close = true,
},
["hb_root_beer"] = {
    label = "Root Beer",
    weight = 1,
    stack = true,
    close = true,
},
["hb_orange_soda"] = {
    label = "Orange Soda",
    weight = 1,
    stack = true,
    close = true,
},
["hb_grape_soda"] = {
    label = "Grape Soda",
    weight = 1,
    stack = true,
    close = true,
},
["hb_lemonlime"] = {
    label = "Lemon-Lime",
    weight = 1,
    stack = true,
    close = true,
},
["hb_bun"] = {
    label = "Burger Bun",
    weight = 1,
    stack = true,
    close = true,
},
["hb_sauce"] = {
    label = "Horny Sauce",
    weight = 1,
    stack = true,
    close = true,
},
["hb_jalapeno_relish"] = {
    label = "Jalapeno Relish",
    weight = 1,
    stack = true,
    close = true,
},
["hb_melted_cheddar"] = {
    label = "Melted Cheddar",
    weight = 1,
    stack = true,
    close = true,
},
["hb_crispy_bacon"] = {
    label = "Crispy Bacon",
    weight = 1,
    stack = true,
    close = true,
},
["hb_double_beef_patty"] = {
    label = "Double Beef Patty",
    weight = 1,
    stack = true,
    close = true,
},
["hb_bbq_sauce"] = {
    label = "Special BBQ Sauce",
    weight = 1,
    stack = true,
    close = true,
},
["hb_milk"] = {
    label = "Milk",
    weight = 1,
    stack = true,
    close = true,
},
["hb_chocolate_syrup"] = {
    label = "Chocolate Syrup",
    weight = 1,
    stack = true,
    close = true,
},
["hb_fresh_lemon_juice"] = {
    label = "Fresh Lemon",
    weight = 1,
    stack = true,
    close = true,
},
["hb_mint_infusion"] = {
    label = "Mint Infusion",
    weight = 1,
    stack = true,
    close = true,
},
["hb_coffee"] = {
    label = "Coffee",
    weight = 1,
    stack = true,
    close = true,
},
["hb_caramel_drizzle"] = {
    label = "Caramel Drizzle",
    weight = 1,
    stack = true,
    close = true,
},
["hb_mixed_berries"] = {
    label = "Mixed Berries",
    weight = 1,
    stack = true,
    close = true,
},
["hb_honey"] = {
    label = "Honey",
    weight = 1,
    stack = true,
    close = true,
},
["hb_caffeine_base"] = {
    label = "Caffeine Base",
    weight = 1,
    stack = true,
    close = true,
},
["hb_citrus_blend"] = {
    label = "Citrus Blend",
    weight = 1,
    stack = true,
    close = true,
},
["hb_potato_fries"] = {
    label = "Potato Fries",
    weight = 1,
    stack = true,
    close = true,
},
["hb_sea_salt"] = {
    label = "Sea Salt & Pepper",
    weight = 1,
    stack = true,
    close = true,
},
["hb_melted_cheese"] = {
    label = "Melted Cheese",
    weight = 1,
    stack = true,
    close = true,
},
["hb_sriracha"] = {
    label = "Sriracha",
    weight = 1,
    stack = true,
    close = true,
},
["hb_crispy_bacon"] = {
    label = "Crispy Bacon",
    weight = 1,
    stack = true,
    close = true,
},
["hb_sour_cream_chives"] = {
    label = "Sour Cream & Chives",
    weight = 1,
    stack = true,
    close = true,
},
["hb_carbonated_water"] = {
    label = "Carbonated Water",
    weight = 1,
    stack = true,
    close = true,
},
["hb_cola_flavor"] = {
    label = "Cola Flavoring",
    weight = 1,
    stack = true,
    close = true,
},
["hb_root_beer_extract"] = {
    label = "Root Beer Extract",
    weight = 1,
    stack = true,
    close = true,
},
["hb_orange_syrup"] = {
    label = "Orange Syrup",
    weight = 1,
    stack = true,
    close = true,
},
["hb_grape_syrup"] = {
    label = "Grape Syrup",
    weight = 1,
    stack = true,
    close = true,
},
["hb_fresh_lemon"] = {
    label = "Fresh Lemon",
    weight = 1,
    stack = true,
    close = true,
},

Step 5 - For QBCore Only

Add the Following in qb-core/shared/jobs.lua

['hornyburgers'] = {
    label = 'Horny Burgers',
    defaultDuty = true,
    grades = {
        ['0'] = {
            name = 'Cashier',
            payment = 50
        },
        ['1'] = {
            name = 'Cook',
            payment = 75
        },
        ['2'] = {
            name = 'Shift Manager',
            payment = 100
        },
        ['3'] = {
            name = 'Manager',
            payment = 125,
        },
        ['4'] = {
            name = 'Owner',
            payment = 125,
            isboss = true,
        },
    },
},

Step 6 - Consumables

Add in qb-smallresourcse/config.lua

--If using old qb-smallresources
Config.ConsumablesDrink = {
    ['hb_cola'] = math.random(35, 54),
    ['hb_root_beer'] = math.random(35, 54),
    ['hb_orange_soda'] = math.random(35, 54),
    ['hb_grape_soda'] = math.random(35, 54),
    ['hb_lemonlime'] = math.random(35, 54),

    ['hb_milkshake'] = math.random(35, 54),
    ['hb_iced_coffee'] = math.random(35, 54),
    ['hb_smoothie'] = math.random(35, 54),
    ['hb_energy'] = math.random(35, 54),
}

Config.ConsumablesEat = {
    ['hb_classic_burger'] = math.random(35, 54),
    ['hb_spicy_burger'] = math.random(35, 54),
    ['hb_cheesy_burger'] = math.random(35, 54),
    ['hb_bacon_burger'] = math.random(35, 54),
    ['hb_double_burger'] = math.random(35, 54),

    ['hb_classic_fries'] = math.random(35, 54),
    ['hb_cheesy_fries'] = math.random(35, 54),
    ['hb_spicy_fries'] = math.random(35, 54),
    ['hb_bacon_fries'] = math.random(35, 54),
    ['hb_loaded_fries'] = math.random(35, 54),

}

--If using new qb-smallresources
Config.Consumables = {
    eat = {
        ['hb_classic_burger'] = math.random(35, 54),
        ['hb_spicy_burger'] = math.random(35, 54),
        ['hb_cheesy_burger'] = math.random(35, 54),
        ['hb_bacon_burger'] = math.random(35, 54),
        ['hb_double_burger'] = math.random(35, 54),

        ['hb_classic_fries'] = math.random(35, 54),
        ['hb_cheesy_fries'] = math.random(35, 54),
        ['hb_spicy_fries'] = math.random(35, 54),
        ['hb_bacon_fries'] = math.random(35, 54),
        ['hb_loaded_fries'] = math.random(35, 54),

    },
    drink = {
        ['hb_cola'] = math.random(35, 54),
        ['hb_root_beer'] = math.random(35, 54),
        ['hb_orange_soda'] = math.random(35, 54),
        ['hb_grape_soda'] = math.random(35, 54),
        ['hb_lemonlime'] = math.random(35, 54),
        
        ['hb_milkshake'] = math.random(35, 54),
        ['hb_iced_coffee'] = math.random(35, 54),
        ['hb_smoothie'] = math.random(35, 54),
        ['hb_energy'] = math.random(35, 54),

    },
}

Step 7

Copy all the Images folder and paste it in your inventory Images folder

Step 8 - Optional

To enable discord logs make sure to add your webhook in the server->Log.lua File

Last updated