Install
Follow the steps below to install this resource to your server.
Install dependencies
⚠️
Verify all dependencies below are started before this script in your server.cfg
.
Install (or update) all dependencies below:
ℹ️
An interaction script is also required, such as ox_target
, qb-target
or interact
Add items
Open the install
folder and add the items
& their images
to your inventory
ℹ️
You do not need to import the .sql
files manually; they will be auto-imported.
- Copy items from
/install/items/ox_inventory.txt
intoox_inventory/data/items.lua
- Copy images from
/install/images
intoox_inventory/web/images
-- Item data format for ox_inventory
['ls_coke_table'] = {
label = 'Coke Table',
weight = 1000,
stack = false
},
Complete item list can be found in /install/items/*.txt
Restart server
- Add this script into your main resources directory (usually
../resources
) - Open
server.cfg
and addstart
orensure lation_coke
- Restart your server
️🚫
Upon completion, do not delete the install
folder or any .sql
files or you will experience errors.