ESX Configuration
Setting up items and job
You will need to add your items to ox_inventory/data/items.lua and run the SQL queries: SQL Queries
OX Items
['sourcream'] = {
label = 'Sourcream',
weight = 100,
stack = true,
close = false,
description = ""
},
['chickenbreast'] = {
label = 'Chicken Breast',
weight = 100,
stack = true,
close = false,
description = ""
},
['tortillachip'] = {
label = 'Tortilla Chips',
weight = 100,
stack = true,
close = false,
description = ""
},
['milk'] = {
label = 'Milk',
weight = 100,
stack = true,
close = false,
description = ""
},
['guacamole'] = {
label = 'Guacamole',
weight = 100,
stack = true,
close = false,
description = ""
},
['budweiser'] = {
label = 'Budweiser',
weight = 100,
stack = true,
close = false,
description = ""
},
['salsa'] = {
label = 'Salsa',
weight = 100,
stack = true,
close = false,
description = ""
},
['bacon'] = {
label = 'Bacon',
weight = 100,
stack = true,
close = false,
description = ""
},
['hoegaardenbelgianwhite'] = {
label = 'Hoegaarden Belgian White',
weight = 100,
stack = true,
close = false,
description = ""
},
['chickenquesadilla'] = {
label = 'Chicken Quesadilla',
weight = 100,
stack = true,
close = false,
description = ""
},
['lettuce'] = {
label = 'Lettuce',
weight = 100,
stack = true,
close = false,
description = ""
},
['tomato'] = {
label = 'Tomato',
weight = 100,
stack = true,
close = false,
description = ""
},
['mushroomswissburger'] = {
label = 'Mushroom Swiss Burger',
weight = 100,
stack = true,
close = false,
description = ""
},
['warsteinerpilsner'] = {
label = 'Warsteiner Pilsner',
weight = 100,
stack = true,
close = false,
description = ""
},
['loadednachos'] = {
label = 'Loaded Nachos',
weight = 100,
stack = true,
close = false,
description = ""
},
['guinnessstout'] = {
label = 'Guinnessstout',
weight = 100,
stack = true,
close = false,
description = ""
},
['pepperjackcheese'] = {
label = 'Pepperjack Cheese',
weight = 100,
stack = true,
close = false,
description = ""
},
['water'] = {
label = 'Water',
weight = 500,
client = {
status = { thirst = 200000 },
anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
prop = { model = `prop_ld_flow_bottle`, pos = vec3(0.03, 0.03, 0.02), rot = vec3(0.0, 0.0, -1.5) },
usetime = 2500,
cancel = true,
notification = 'You drank some refreshing water'
}
},
['chickenclubburger'] = {
label = 'Chicken Club Burger',
weight = 100,
stack = true,
close = false,
description = ""
},
['yuengling'] = {
label = 'Yuengling',
weight = 100,
stack = true,
close = false,
description = ""
},
['budlight'] = {
label = 'Bud Light',
weight = 100,
stack = true,
close = false,
description = ""
},
['blackbeans'] = {
label = 'Black Beans',
weight = 100,
stack = true,
close = false,
description = ""
},
['redonion'] = {
label = 'Red Onion',
weight = 100,
stack = true,
close = false,
description = ""
},
['lindemansframboise'] = {
label = 'Lindemans Framboise',
weight = 100,
stack = true,
close = false,
description = ""
},
['provolonecheese'] = {
label = 'Provolone Cheese',
weight = 100,
stack = true,
close = false,
description = ""
},
['swisscheese'] = {
label = 'Swiss Cheese',
weight = 100,
stack = true,
close = false,
description = ""
},
['sauteedmushroom'] = {
label = 'Sauteed Mushroom',
weight = 100,
stack = true,
close = false,
description = ""
},
['jameson'] = {
label = 'Jameson',
weight = 100,
stack = true,
close = false,
description = ""
},
['jackdaniels'] = {
label = 'Jack Daniel’s',
weight = 100,
stack = true,
close = false,
description = ""
},
SQL Queries
INSERT INTO `addon_account` (`name`, `label`, `shared`) VALUES
('society_hogspub', 'Hogs Pub', 1);
INSERT INTO `addon_account_data` (`account_name`, `money`, `owner`) VALUES
('society_hogspub', 0, NULL);
INSERT INTO `jobs` (`name`, `label`, `whitelisted`) VALUES
('hogspub', 'Hogs Pub', 0);
INSERT INTO `job_grades` (`job_name`, `grade`, `name`, `label`, `salary`, `skin_male`, `skin_female`) VALUES
('hogspub', 0, 'sales', 'Sales', 10, '{}', '{}'),
('hogspub', 1, 'boss', 'Boss', 10, '{}', '{}');