NexureNexure
Racing SystemIntegrations

Inventory Items

Add the racing tablet to inventory systems such as ox_inventory.

Integrate the Nexure Racing tablet with your inventory of choice. The example below targets ox_inventory, but the same ideas apply elsewhere.

Add the tablet entry to ox_inventory/data/items.lua:

items.lua
["racing_tablet"] = {
  label = "Tablet",
  weight = 500,
  stack = false,
  close = true,
  client = {
    image = "racing_tablet.png",
    export = "nx_racing.openTablet"
  }
},

Drop the PNG into the web image directory:

racing_tablet.png

Racing Tablet icon

Need something else? Wire the tablet into your preferred give/loot flow and call the client export or event whenever the item is used.