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
-- [INSTALL OX_INVENTORY/DATA/ITEMS.LUA] --
-- [DRINK INGREDIENTS] --
['ice'] = {
label = 'Ice',
weight = 10,
},
['pineapplejuice'] = {
label = 'Pineapple Juice',
weight = 10,
},
['lemon'] = {
label = 'Lemon',
weight = 10,
},
['lime'] = {
label = 'Lime',
weight = 10,
},
['sugar'] = {
label = 'Sugar',
weight = 10,
},
['mint'] = {
label = 'Mint',
weight = 10,
},
['cocomilk'] = {
label = 'Coco Milk',
weight = 10,
},
-- [DRINKS] --
['bluelagoon'] = {
label = 'Blue Lagoon',
weight = 30,
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 a blue lagoon'
}
},
['caipirinha'] = {
label = 'Caipirinha',
weight = 30,
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 a Caipirinha'
}
},
['pinacolada'] = {
label = 'Pinรฃ Colada',
weight = 30,
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 a Pinรฃ Colada'
}
},
['maitai'] = {
label = 'Mai Tai',
weight = 30,
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 a Mai Tai'
}
},
['mojito'] = {
label = 'Mojito',
weight = 30,
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 a Mojito'
}
},
['sanfrancisco'] = {
label = 'San Francisco',
weight = 30,
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 a San Francisco'
}
},
['gin'] = {
label = 'Gin',
weight = 30,
},
['rum'] = {
label = 'Rum',
weight = 30,
},
['whiskey'] = {
label = 'Whiskey',
weight = 30,
},
['vodka'] = {
label = 'Vodka',
weight = 30,
},
3
Add jobs
Open the [install]
folder and add the jobs
to your core resource
-- [Install into: qb-core/shared/jobs.lua] --
upnatom = {
label = 'Up N Atom',
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