🎒Ox Inventory Install
Step 1: Locate the OX Inventory Folder
Navigate to your FiveM server directory.
Open the
resourcesfolder.Find and open the ox_inventory resource folder.
Step 2: Open the data/items.lua File
data/items.lua FileInside the ox_inventory folder, go to:
ox_inventory/data/items.luaOpen
items.luausing Notepad++, VS Code, or another code editor.
Step 3: Add Your New Item
Add a new entry for your item inside the
items.luafile.Use the following format:
Adjust label, weight, stack, animations, and props as needed.
Step 4: Add Item Image
OX Inventory allows you to display custom images for items in the inventory.
Where to Place Item Images
Navigate to:
ox_inventory/web/images/Place your item image inside the
images/folder.
Step 5: Save the File & Restart Server
Save the
items.luafile.Restart your FiveM server using one of the following methods:
Console Command:
restart ox_inventoryFull Server Restart: Stop and start the server manually.
Step 6: Test the Item
Spawn the item using an admin command:
/giveitem yourID prop_name 1(Replace
yourIDwith your actual player ID andburgerwith your item name.)Open OX Inventory (
F2default key).Verify the item appears and functions correctly.
Step 6: Debugging & Adjustments
If the item does not show, check the server console for errors.
Verify spelling and commas in
items.lua.Ensure
ox_inventoryis running properly.Look at the FiveM forums or Discord for troubleshooting help.
Last updated