Installation
This script requires ak4y-core to work. Please download it from your portal (cfxre, keymaster).
1. Unzip the downloaded file.
2. Move the script file to your resources folder.
3. Read the .sql file in the file to the database.
4. Configure the script to your own specifications.
5. Add items for your server.
qb-core items
vending = { name = 'vending', label = 'Vending Drink', weight = 100, type = 'item', image = 'vending.png', unique = true, useable = true, shouldClose = true, description = '' },
vending2 = { name = 'vending2', label = 'Vending Food', weight = 100, type = 'item', image = 'vending2.png', unique = true, useable = true, shouldClose = true, description = '' },ox_inventory items
['vending'] = {
label = 'Vending Drink',
stack = false,
weight = 500,
},
['vending2'] = {
label = 'Vending Food',
stack = false,
weight = 500,
},esx items
INSERT INTO items (name, label, weight, rare, can_remove) VALUES
('vending', 'Vending Drink', 500, 0, 1),
('vending2', 'Vending Food', 1000, 0, 1);
Last updated