['tomato'] = {
label = 'Tamato',
weight = 70,
client = {
status = { hunger = 20000 },
anim = 'eating',
usetime = 2500,
notification = 'You ate a delicious Tomato'
},
},
['mango'] = {
label = 'Mango',
weight = 200,
client = {
status = { hunger = 50000 },
anim = 'eating',
usetime = 2500,
notification = 'You ate a delicious Mango'
},
},
['orange'] = {
label = 'Orange',
weight = 200,
client = {
status = { hunger = 50000 },
anim = 'eating',
usetime = 2500,
notification = 'You ate a delicious Orange'
},
},
['apple'] = {
label = 'Apple',
weight = 200,
client = {
status = { hunger = 50000 },
anim = 'eating',
usetime = 2500,
notification = 'You ate a delicious Apple'
},
},
['gauva'] = {
label = 'Gauva',
weight = 200,
client = {
status = { hunger = 50000 },
anim = 'eating',
usetime = 2500,
notification = 'You ate a delicious Gauva'
},
},
['orangejuice'] = {
label = 'Orange Juice',
weight = 350,
client = {
status = { thirst = 200000 },
anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
prop = { model = `prop_ld_flow_bottle`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
usetime = 2500,
notification = 'You drinks a delicious Orange Juice'
}
},
['mangojuice'] = {
label = 'Mango Juice',
weight = 350,
client = {
status = { thirst = 200000 },
anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
prop = { model = `prop_ld_flow_bottle`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
usetime = 2500,
notification = 'You drinks a delicious Mango Juice'
}
},
['applejuice'] = {
label = 'Apple Juice',
weight = 350,
client = {
status = { thirst = 200000 },
anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
prop = { model = `prop_ld_flow_bottle`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
usetime = 2500,
notification = 'You drinks a delicious Apple Juice'
}
},
['gauvajuice'] = {
label = 'Gauva Juice',
weight = 350,
client = {
status = { thirst = 200000 },
anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
prop = { model = `prop_ld_flow_bottle`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
usetime = 2500,
notification = 'You drinks a delicious Gauva Juice'
}
},
['applewine'] = {
label = 'Apple Wine',
weight = 350,
client = {
status = { thirst = 200000 },
anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
prop = { model = `prop_amb_beer_bottle`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
usetime = 2500,
notification = 'Im Drunk'
}
},
['orangewine'] = {
label = 'Orange Wine',
weight = 350,
client = {
status = { thirst = 200000 },
anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
prop = { model = `prop_amb_beer_bottle`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
usetime = 2500,
notification = 'Im Drunk'
}
},
['gauvawine'] = {
label = 'Gauva Wine',
weight = 350,
client = {
status = { thirst = 200000 },
anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
prop = { model = `prop_amb_beer_bottle`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
usetime = 2500,
notification = 'Im Drunk'
}
},
['mangowine'] = {
label = 'Mango Wine',
weight = 350,
client = {
status = { thirst = 200000 },
anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
prop = { model = `prop_amb_beer_bottle`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
usetime = 2500,
notification = 'Im Drunk'
}
},
['tomato_ketchup'] = {
label = 'Tamato Ketchup',
weight = 250,
},
['tomato_paste'] = {
label = 'Tamato Paste',
weight = 250,
},
Item('applewine', function(data, slot) -- causes drug effect
ox_inventory:useItem(data, function(data)
if data then
local playerPed = PlayerPedId()
SetTimecycleModifier("spectator5")
SetPedMotionBlur(playerPed, true)
SetPedIsDrunk(playerPed, true)
--Efects
local player = PlayerId()
SetRunSprintMultiplierForPlayer(player, 0.5)
Wait(20000)
ResetPedMovementClipset(playerPed, 0)
ClearTimecycleModifier()
ResetScenarioTypesEnabled()
SetRunSprintMultiplierForPlayer(player, 1.0)
end
end)
end)
Item('orangewine', function(data, slot) -- causes drug effect
ox_inventory:useItem(data, function(data)
if data then
local playerPed = PlayerPedId()
SetTimecycleModifier("spectator5")
SetPedMotionBlur(playerPed, true)
SetPedIsDrunk(playerPed, true)
--Efects
local player = PlayerId()
SetRunSprintMultiplierForPlayer(player, 0.5)
Wait(20000)
ResetPedMovementClipset(playerPed, 0)
ClearTimecycleModifier()
ResetScenarioTypesEnabled()
SetRunSprintMultiplierForPlayer(player, 1.0)
end
end)
end)
Item('gauvawine', function(data, slot) -- causes drug effect
ox_inventory:useItem(data, function(data)
if data then
local playerPed = PlayerPedId()
SetTimecycleModifier("spectator5")
SetPedMotionBlur(playerPed, true)
SetPedIsDrunk(playerPed, true)
--Efects
local player = PlayerId()
SetRunSprintMultiplierForPlayer(player, 0.5)
Wait(20000)
ResetPedMovementClipset(playerPed, 0)
ClearTimecycleModifier()
ResetScenarioTypesEnabled()
SetRunSprintMultiplierForPlayer(player, 1.0)
end
end)
end)
Item('mangowine', function(data, slot) -- causes drug effect
ox_inventory:useItem(data, function(data)
if data then
local playerPed = PlayerPedId()
SetTimecycleModifier("spectator5")
SetPedMotionBlur(playerPed, true)
SetPedIsDrunk(playerPed, true)
--Efects
local player = PlayerId()
SetRunSprintMultiplierForPlayer(player, 0.5)
Wait(20000)
ResetPedMovementClipset(playerPed, 0)
ClearTimecycleModifier()
ResetScenarioTypesEnabled()
SetRunSprintMultiplierForPlayer(player, 1.0)
end
end)
end)