Skip to content

Items

Items

🏆 Items & Player UI#

Players can:

  • Use racechip to join races
  • Use trackchip to create tracks
  • Use racing_tablet to open the full racing UI

View attachment on original documentation

QBCore Items#

Add these to your shared.lua or item export:

text
racechip = { name = 'racechip', label = 'Race Chip', weight = 100, type = 'item', image = 'racechip.png', unique = true, useable = false, shouldClose = true },
trackchip = { name = 'trackchip', label = 'Track Chip', weight = 100, type = 'item', image = 'trackchip.png', unique = true, useable = false, shouldClose = true },
racing_tablet = { name = 'racing_tablet', label = 'Race Tablet', weight = 200, type = 'item', image = 'tablet.png', unique = true, useable = true, shouldClose = true },

OX Inventory Items#

Add to your data/items.lua:

text
['racechip'] = {
    label = 'Race Chip',
    weight = 100,
    stack = true,
    close = true,
},
['trackchip'] = {
    label = 'Track Chip',
    weight = 100,
    stack = true,
    close = true,
},
['racing_tablet'] = {
    label = 'Race Tablet',
    weight = 200,
    stack = true,
    close = true,
},

The UI allows:

  • Viewing race history
  • Managing avatar and display name
  • Adjusting checkpoint and GPS colors
  • Monitoring XP, rank, and earnings