A winemaking job made for you!
Discord RexTon
·
ESX Discord
·
ESX Documentation
Hello, this is a simple looking winemaking job. I've tried to keep the code as simple as possible, but if you have any recommendations, send me a private message or make a pull request.
- You must have an artifact greater than or equal to
6116
! (https://runtime.fivem.net/artifacts/fivem/) - Import the sql into your database.
- Check that the config.lua is in order
- Start the resource in the server.cfg
ensure rVigneron
- Launch your server and enjoy.
I could help to make this job work without ox_inventory. But for other changes (including major ones) I could not help you.
Do not try to take over this work and sell it.
- Go to [ox]/ox_inventory/data/items.lua
- Here are the items you need by default for the job
['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'
}
},
["grape"] = {
label = "Grape",
weight = 250,
stack = true,
close = true,
},
["wineyeast"] = {
label = "wine-making yeast",
weight = 150,
stack = true,
close = true,
},
["wine"] = {
label = "Vin",
weight = 500,
stack = true,
close = true,
},
- Just restart ox_inventory and try!
WirzRexton - (https://discord.gg/v8nrrJd4Zw)