๐Items
Items
๐ Items & Player UI
Players can:
Use
racechip
to join racesUse
trackchip
to create tracksUse
racing_tablet
to open the full racing UI
QBCore Items
Add these to your shared.lua
or item export:
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
:
['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
Last updated