Installation
Learn how to install our Vehicle Keys script
Inventory Items
This are the items to add in the ox_inventory\data\items.lua
['vehiclekey'] = {
label = 'Vehicle Key',
useable = false
},
['vehiclekeychain'] = {
label = 'Vehicle Key Chain',
weight = 150,
stack = false,
close = false
}Inventory Containers
Add the following code in the ox_inventory\modules\items\containers.lua
setContainerProperties('vehiclekeychain', {
slots = 10,
maxWeight = 1000,
whitelist = { 'vehiclekey' }
})That's it, the script is installed!
Everything else in the script will be automatically configured: framework, database, etc.
If you need help with anything extra, please open ticket in our discord.