Install Instructions
Follow the steps below to install this resource to your server.
1
2
Add items
Open the [install]
folder and add the items
& their images
to your inventory
-- [FOOD INGREDIENTS]
['bacon'] = {
label = 'Bacon',
weight = 10,
},
['bun'] = {
label = 'Buns',
weight = 10,
},
['cheese'] = {
label = 'Cheese Slices',
weight = 10,
},
['lettuce'] = {
label = 'Lettuce',
weight = 10,
},
['onionslice'] = {
label = 'Onion Slices',
weight = 10,
},
['tomato'] = {
label = 'Tomatos',
weight = 10,
},
-- [FOOD]
['torpedo'] = {
label = 'Torpedo',
weight = 10,
client = {
status = { hunger = 200000 },
anim = 'eating',
prop = 'burger',
usetime = 2500,
cancel = true,
notification = 'You ate a delicious Burger'
}
},
-- [DRINKS]
['soda'] = {
label = 'Soda',
weight = 10,
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 soda'
}
},
3
Add jobs
Open the [install]
folder and add the jobs
to your core resource
-- [Install into: qb-core/shared/jobs.lua] --
bite = {
label = 'Bite',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = { name = 'Helper', payment = 30 },
['1'] = { name = 'Cook', payment = 40 },
['2'] = { name = 'Deliver', payment = 50 },
['3'] = { name = 'Manager', payment = 60 },
['4'] = { name = 'Boss', isboss = true, payment = 70 },
},
},
Upon completion, do not delete the [install]
folder or any .sql
files or you will experience errors.
Last updated