Items
Every item Racing System uses, in the ox_inventory and QBCore item formats.
Add these to your inventory's items before you start the script. Keep the names exactly as they are.
| Item | Label | What it is for |
|---|---|---|
gg_racing_tablet | Racing Tablet | Using it opens the racing tablet, so every racer needs one. Sell it in a shop or hand it out. |
gg_racing_case_participation | Participation Racing Case | The reward case for finishing a contract without a medal. |
gg_racing_case_bronze | Bronze Racing Case | The reward case for a contract bronze. |
gg_racing_case_silver | Silver Racing Case | The reward case for a contract silver. |
gg_racing_case_gold | Gold Racing Case | The reward case for a contract gold. |
gg_racing_arcade | Arcade Racing Machine | Sets down a two-seat racing cabinet anywhere. Anyone can sit at it and race the arena courses. |
gg_racing_arcade_blackout | Blackout Arcade Racing Machine | The same machine, all black. Optional. |
gg_racing_arcade_redline | Redline Arcade Racing Machine | The same machine in red. Optional. |
gg_racing_arcade_volt | Volt Arcade Racing Machine | The same machine, black with mint cars. Optional. |
gg_racing_arcade_royal | Royal Arcade Racing Machine | The same machine in purple. Optional. |
gg_racing_arcade_frost | Frost Arcade Racing Machine | The same machine in white. Optional. |
Using a case sets it down and opens it: XNT, Credits, cash, experience, and now and then a parts kit or a car key. Add the five painted machines only if you sell them.
The pictures for all eleven ship in gg_racing/!SETUP/IMAGES, and the item entries in gg_racing/!SETUP. A missing item shows at the top of the Racing System page in /ggsettings, and the server console names it on start.
Item formats
Racing System works with any inventory gg_lib supports. The items come in the two formats most inventories read: copy the one yours uses.
| Format | Used by | Guide |
|---|---|---|
| ox_inventory | ox_inventory, and inventories that read its data/items.lua | ox_inventory format |
| QBCore | qb-core/shared/items.lua, read by qb-inventory, ps-inventory, lj-inventory, qs-inventory, jaksam_inventory and others | QBCore format |
Another inventory with its own item file: add the same names, labels and pictures there.
