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_tacoshop` (
  `stock` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=armscii8 COLLATE=armscii8_bin;

INSERT INTO `addon_account` (name, label, shared) VALUES
	('society_taco', 'Taco Shop', 1);

INSERT INTO `datastore` (name, label, shared) VALUES
	('society_taco', 'Taco Shop', 1);

INSERT INTO `jobs` (name, label,whitelisted) VALUES
	('taco', 'Taco Shop',1)
;

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

Step 4

Add the items into your server

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

["taco_carnitas_burrito"] = {
    label = "Carnitas Burrito",
    weight = 1,
    stack = true,
    close = true,
},

["taco_carnitas"] = {
    label = "Carnitas Tacos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_al_pastor"] = {
    label = "Al Pastor Tacos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_pork_shoulder"] = {
    label = "Slow Cooked Pork Shoulder",
    weight = 1,
    stack = true,
    close = true,
},

["taco_mexican_sausage"] = {
    label = "Spicy Mexican Chorizo Sausage",
    weight = 1,
    stack = true,
    close = true,
},

["taco_grilled_chicken"] = {
    label = "Grilled Chicken",
    weight = 1,
    stack = true,
    close = true,
},

["taco_grilled_skirt"] = {
    label = "Grilled Skirt",
    weight = 1,
    stack = true,
    close = true,
},

["taco_grilled_steak"] = {
    label = "Grilled Steak",
    weight = 1,
    stack = true,
    close = true,
},

["taco_ground_beef"] = {
    label = "Ground Beef",
    weight = 1,
    stack = true,
    close = true,
},

["taco_chicken_nachos"] = {
    label = "Chicken Nachos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_barbacoa"] = {
    label = "Barbacoa Tacos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_bbqchicken_burrito"] = {
    label = "Bbq Chicken Burrito",
    weight = 1,
    stack = true,
    close = true,
},

["taco_chorizo"] = {
    label = "Chorizo Tacos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_beef_burrito"] = {
    label = "Classic Beef Burrito",
    weight = 1,
    stack = true,
    close = true,
},

["taco_jalapenos"] = {
    label = "Jalapenos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_classic_nachos"] = {
    label = "Classic Nachos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_cheese_burrito"] = {
    label = "Bean and Cheese Burrito",
    weight = 1,
    stack = true,
    close = true,
},

["taco_pulled_pork"] = {
    label = "Pulled Pork",
    weight = 1,
    stack = true,
    close = true,
},

["taco_pork_nachos"] = {
    label = "Pulled Pork Nachos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_cooked_quinoa"] = {
    label = "Cooked Quinoa",
    weight = 1,
    stack = true,
    close = true,
},

["taco_black_beans"] = {
    label = "Black Beans",
    weight = 1,
    stack = true,
    close = true,
},

["taco_tortilla_chips"] = {
    label = "Tortilla Chips",
    weight = 1,
    stack = true,
    close = true,
},

["taco_cooked_beef"] = {
    label = "Slow Cooked Beef",
    weight = 1,
    stack = true,
    close = true,
},

["taco_steak_burrito"] = {
    label = "Steak Burrito",
    weight = 1,
    stack = true,
    close = true,
},

["taco_refried_beans"] = {
    label = "Refried Beans",
    weight = 1,
    stack = true,
    close = true,
},

["taco_vegetarian_burrito"] = {
    label = "Vegetarian Burrito",
    weight = 1,
    stack = true,
    close = true,
},

["taco_tortillas"] = {
    label = "taco_tortillas",
    weight = 1,
    stack = true,
    close = true,
},

["taco_tilapia"] = {
    label = "taco_tilapia",
    weight = 1,
    stack = true,
    close = true,
},

["taco_stewed_beef"] = {
    label = "Stewed Beef",
    weight = 1,
    stack = true,
    close = true,
},

["taco_beef_nachos"] = {
    label = "Loaded Beef Nachos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_vegetarian_nachos"] = {
    label = "Vegetarian Nachos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_vegetarian"] = {
    label = "Vegetarian Tacos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_sauteed_shrimp"] = {
    label = "Sauteed Shrimp",
    weight = 1,
    stack = true,
    close = true,
},

["taco_marinated_pork"] = {
    label = "Marinated Pork",
    weight = 1,
    stack = true,
    close = true,
},

["taco_breakfast_nachos"] = {
    label = "Breakfast Nachos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_breakfast_sausage"] = {
    label = "Breakfast Sausage",
    weight = 1,
    stack = true,
    close = true,
},

["taco_sauteed_vegetables"] = {
    label = "Sauteed Vegetables",
    weight = 1,
    stack = true,
    close = true,
},

["taco_scrambled_eggs"] = {
    label = "Scrambled Eggs",
    weight = 1,
    stack = true,
    close = true,
},

["taco_birria"] = {
    label = "Birria Tacos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_seafood_nachos"] = {
    label = "Seafood Nachos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_fish_burrito"] = {
    label = "Fish Burrito",
    weight = 1,
    stack = true,
    close = true,
},

["taco_bbq_chicken"] = {
    label = "Shredded Bbq Chicken",
    weight = 1,
    stack = true,
    close = true,
},

["taco_fish"] = {
    label = "Fish Tacos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_shredded_chicken"] = {
    label = "Shredded Chicken Cooked",
    weight = 1,
    stack = true,
    close = true,
},

["taco_breakfast_burrito"] = {
    label = "Breakfast Burrito",
    weight = 1,
    stack = true,
    close = true,
},

["taco_shrimp_burrito"] = {
    label = "Shrimp Burrito",
    weight = 1,
    stack = true,
    close = true,
},

["taco_shrimp"] = {
    label = "Taco Shrimp",
    weight = 1,
    stack = true,
    close = true,
},

["taco_shrimp"] = {
    label = "Shrimp Tacos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_carne"] = {
    label = "Carne Asada Tacos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_chicken"] = {
    label = "Chicken Tacos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_lemonlush_soda"] = {
    label = "Taco Lemonlush Soda",
    weight = 1,
    stack = true,
    close = true,
},

["taco_zesty_zing"] = {
    label = "Taco Zesty Zing",
    weight = 1,
    stack = true,
    close = true,
},

["taco_chillwave_cola"] = {
    label = "Taco Jurritos",
    weight = 1,
    stack = true,
    close = true,
},

["taco_fizzberry_splash"] = {
    label = "Taco Fizzberry Splash",
    weight = 1,
    stack = true,
    close = true,
},

["taco_jurritos"] = {
    label = "Taco Jurritos",
    weight = 1,
    stack = true,
    close = true,
},
["taco_emptycup"] = {
    label = "Taco Jurritos",
    weight = 1,
    stack = true,
    close = true,
},

Step 5 - For QBCore Only

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

['taco'] = {
    label = 'Taco Shop',
    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 = {
    ['taco_jurritos'] = math.random(35, 54),
    ['taco_chillwave_cola'] = math.random(35, 54),
    ['taco_fizzberry_splash'] = math.random(35, 54),
    ['taco_lemonlush_soda'] = math.random(35, 54),
    ['taco_zesty_zing'] = math.random(35, 54),
}

Config.ConsumablesEat = {
    ['taco_carne'] = math.random(35, 54),
    ['taco_al_pastor'] = math.random(35, 54),
    ['taco_fish'] = math.random(35, 54),
    ['taco_carnitas'] = math.random(35, 54),
    ['taco_barbacoa'] = math.random(35, 54),
    ['taco_chicken'] = math.random(35, 54),
    ['taco_chorizo'] = math.random(35, 54),
    ['taco_vegetarian'] = math.random(35, 54),
    ['taco_shrimp'] = math.random(35, 54),
    ['taco_birria'] = math.random(35, 54),

    ['taco_beef_burrito'] = math.random(35, 54),
    ['taco_chicken_burrito'] = math.random(35, 54),
    ['taco_vegetarian_burrito'] = math.random(35, 54),
    ['taco_breakfast_burrito'] = math.random(35, 54),
    ['taco_carnitas_burrito'] = math.random(35, 54),
    ['taco_fish_burrito'] = math.random(35, 54),
    ['taco_steak_burrito'] = math.random(35, 54),
    ['taco_shrimp_burrito'] = math.random(35, 54),
    ['taco_cheese_burrito'] = math.random(35, 54),
    ['taco_bbqchicken_burrito'] = math.random(35, 54),

    ['taco_classic_nachos'] = math.random(35, 54),
    ['taco_beef_nachos'] = math.random(35, 54),
    ['taco_chicken_nachos'] = math.random(35, 54),
    ['taco_pork_nachos'] = math.random(35, 54),
    ['taco_vegetarian_nachos'] = math.random(35, 54),
    ['taco_seafood_nachos'] = math.random(35, 54),
    ['taco_breakfast_nachos'] = math.random(35, 54),

}

--If using new qb-smallresources
Config.Consumables = {
    eat = {
        ['taco_carne'] = math.random(35, 54), 
        ['taco_al_pastor'] = math.random(35, 54),
        ['taco_fish'] = math.random(35, 54),
        ['taco_carnitas'] = math.random(35, 54),
        ['taco_barbacoa'] = math.random(35, 54),
        ['taco_chicken'] = math.random(35, 54),
        ['taco_chorizo'] = math.random(35, 54),
        ['taco_vegetarian'] = math.random(35, 54),
        ['taco_shrimp'] = math.random(35, 54),
        
        ['taco_birria'] = math.random(35, 54),
        ['taco_beef_burrito'] = math.random(35, 54),
        ['taco_chicken_burrito'] = math.random(35, 54),
        ['taco_vegetarian_burrito'] = math.random(35, 54),
        ['taco_breakfast_burrito'] = math.random(35, 54),
        ['taco_carnitas_burrito'] = math.random(35, 54),
        ['taco_fish_burrito'] = math.random(35, 54),
        ['taco_steak_burrito'] = math.random(35, 54),
        ['taco_shrimp_burrito'] = math.random(35, 54),
        ['taco_cheese_burrito'] = math.random(35, 54),
        ['taco_bbqchicken_burrito'] = math.random(35, 54),
        
        ['taco_classic_nachos'] = math.random(35, 54),
        ['taco_beef_nachos'] = math.random(35, 54),
        ['taco_chicken_nachos'] = math.random(35, 54),
        ['taco_pork_nachos'] = math.random(35, 54),
        ['taco_vegetarian_nachos'] = math.random(35, 54),
        ['taco_seafood_nachos'] = math.random(35, 54),
        ['taco_breakfast_nachos'] = math.random(35, 54),
    },
    drink = {
        ['taco_jurritos'] = math.random(35, 54),
        ['taco_chillwave_cola'] = math.random(35, 54),
        ['taco_fizzberry_splash'] = math.random(35, 54),
        ['taco_lemonlush_soda'] = math.random(35, 54),
        ['taco_zesty_zing'] = 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