Installation
Once you have set up the dependencies, all you have to do is upload the folder to the server.
This installation guide covers both ESX and QBCore/QBOX frameworks.
ox_lib
Upload folder to your server
Upload folder to your server
Server.cfg
The server.cfg initialization order should be as follows.
start CORE
start ox_lib
-- # other resources
start 0r-heist-dui
Localization
To change the preferred language from English, add the convar to your server.cfg and change en to the desired language code.
setr ox:locale enIt is written according to the
itemNamevalues specified in Config. You can change it. Do not forget to change it on both sides.You have to put the pictures yourself.
Add items to ox_inventory/data/items.lua
['nightvision'] = {
label = 'Nightvision',
weight = 1500,
close = true,
},
['gasmask'] = {
label = 'Gas Mask',
weight = 1,
close = true,
},It is written according to the
itemNamevalues specified in Config. You can change it. Do not forget to change it on both sides.You have to put the pictures yourself.
Add item to shared items.lua
gasmask = { name = 'gasmask', label = 'Gas Mask', weight = 1, type = 'item', image = '', unique = true, useable = true, shouldClose = true, description = 'Gas Mask' },
nightvision = { name = 'Night Vision', label = 'Night Vision', weight = 1, type = 'item', image = '', unique = true, useable = true, shouldClose = true, description = 'Nightvision' },Last updated