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,
},
['beef'] = {
label = 'Beef',
weight = 10,
},
['beefraw'] = {
label = 'Raw Beef',
weight = 10,
},
['bun'] = {
label = 'Buns',
weight = 10,
},
['cheese'] = {
label = 'Cheese Slices',
weight = 10,
},
['lettuce'] = {
label = 'Lettuce',
weight = 10,
},
['onion'] = {
label = 'Onion',
weight = 10,
},
['onionslice'] = {
label = 'Onion Slices',
weight = 10,
},
['tomato'] = {
label = 'Tomatos',
weight = 10,
},
['frozenfries'] = {
label = 'Frozen Fries',
weight = 10,
},
['frozennuggets'] = {
label = 'Frozen Nuggets',
weight = 10,
},
--[FOOD]--
['fries'] = {
label = 'French Fries',
weight = 220,
client = {
status = { hunger = 200000 },
anim = 'eating',
prop = 'burger',
usetime = 2500,
cancel = true,
notification = 'You ate some delicious French Fries'
}
},
['nuggets'] = {
label = 'Chicken Nuggets',
weight = 220,
client = {
status = { hunger = 200000 },
anim = 'eating',
prop = 'burger',
usetime = 2500,
cancel = true,
notification = 'You ate some delicious Chicken Nuggets'
}
},
['onionrings'] = {
label = 'Onion Rings',
weight = 220,
client = {
status = { hunger = 200000 },
anim = 'eating',
prop = 'burger',
usetime = 2500,
cancel = true,
notification = 'You ate some delicious Onion Rings'
}
},
['bleeder'] = {
label = 'Bleeder',
weight = 220,
client = {
status = { hunger = 200000 },
anim = 'eating',
prop = 'burger',
usetime = 2500,
cancel = true,
notification = 'You ate a delicious Bleeder'
}
},
['moneyshot'] = {
label = 'Money Shot',
weight = 220,
client = {
status = { hunger = 200000 },
anim = 'eating',
prop = 'burger',
usetime = 2500,
cancel = true,
notification = 'You ate a delicious Money Shot'
}
},
['heartstopper'] = {
label = 'Heart Stopper',
weight = 220,
client = {
status = { hunger = 200000 },
anim = 'eating',
prop = 'burger',
usetime = 2500,
cancel = true,
notification = 'You ate a delicious Heart Stopper'
}
},
['torpedo'] = {
label = 'Torpedo',
weight = 220,
client = {
status = { hunger = 200000 },
anim = 'eating',
prop = 'burger',
usetime = 2500,
cancel = true,
notification = 'You ate a delicious Torpedo'
}
},
--[DRINKS]--
['icecream'] = {
label = 'Icecream',
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 consumed some icecream'
}
},
['creamy'] = {
label = 'Creamy',
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 consumed some creamy'
}
},
['milkshake'] = {
label = 'Milkshake',
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 cold milkshake'
}
},
['soda'] = {
label = 'Soda',
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 soda'
}
},
3
Add jobs
Open the [install]
folder and add the jobs
to your core resource
-- [Install into: qb-core/shared/jobs.lua] --
snrbuns = {
label = 'Snr Buns',
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = { name = 'Helper', payment = 30 },
['1'] = { name = 'Cook', payment = 45 },
['2'] = { name = 'Deliver', payment = 55 },
['3'] = { name = 'Manager', isboss = true, payment = 60 },
},
},
Upon completion, do not delete the [install]
folder or any .sql
files or you will experience errors.
Last updated