🔋azakit_vendingsystem
Manual Guide
INSTALLATION [ESX/QBCore]
1. Resource Download
To get started, you'll need to download your new resource previously purchased from shop. For that we must log in with our account at keymaster
and look for the Asset grants section, there we will find our complete package.
2. Unzip The Folder
Unzip the script folder. Add the azakit_vendingsystem to your resources folder.
3. Ensure
Add ensure azakit_vendingsystem to your server.cfg.
ensure azakit_vendingsystem
CONFIGURATION
4. Configure
Configure the config.lua file present in the resource, with the help of comments to facilitate your configuration. Check: config.lua
5. Create Item
Create the items in your inventory.
['ecola'] = {
label = 'ecola',
weight = 350,
--degrade = 4320,
stack = true,
close = true,
description = nil
--client = {
-- status = { thirst = 200000 },
-- anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
-- prop = { model = `prop_ecola_can`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
-- usetime = 2500,
-- notification = 'You quenched your thirst with cola'
--}
},
['sprunk'] = {
label = 'Sprunk',
weight = 350,
--degrade = 4320,
stack = true,
close = true,
--client = {
-- status = { thirst = 200000 },
-- anim = { dict = 'mp_player_intdrink', clip = 'loop_bottle' },
-- prop = { model = `prop_ld_can_01`, pos = vec3(0.01, 0.01, 0.06), rot = vec3(5.0, 5.0, -180.5) },
-- usetime = 2500,
-- notification = 'You quenched your thirst with a sprunk'
--}
},
['lockpick'] = {
label = 'lockpick',
weight = 160,
consume = 0,
stack = true,
close = true,
description = nil
},
6. Restart Server
Restart your game server and enjoy the system.
Last updated