Inventory Integration
Integrate Nexure Racing System with various inventory scripts to manage race-related items directly within your inventory system. Below, find guides tailored for different inventory scripts.
Integrating with ox_inventory
Step 1: Add Racing Item
To add a racing tablet item, open ox_inventory/data/items.lua and add the following code:
- items.lua
["racing_tablet"] = {
label = "Tablet",
weight = 500,
stack = false,
close = true,
client = {
image = "racing_tablet.png",
export = "nx_racing.openTablet"
}
},Step 2: Add Item Image
Place the item image in ox_inventory/web/images/racing_tablet.png:
- racing_tablet.png
Item Image:
