Racing
Opening the app
How players open GS Racing — item, command, lb-phone, lb-tablet.
GS Racing can open three ways. Enable the paths you want in shared/config.lua.
Standalone tablet (recommended without LB)
Config.EnableStandaloneTablet = true
Config.TabletItemName = 'racing_tablet'
Config.TabletCommand = false -- set e.g. 'racingtablet' to also allow a chat command| Method | How |
|---|---|
| Item | Use racing_tablet (useable item registered by the resource) |
| Command | /racingtablet when Config.TabletCommand = 'racingtablet' |
| Close | /racingtablet_close or the in-UI close control |
From other resources — see Exports for the full list:
-- client
exports['gs_racing']:openRacingTablet()
-- server (opens for a player)
exports['gs_racing']:openRacingTablet(source)lb-phone
Config.EnableLBPhone = true
-- Ensure lb-phone starts before gs_racingRegisters a custom Racing app on the phone. Players open it from the phone UI.
lb-tablet
Config.EnableLBTablet = trueRegisters a custom Racing app on the tablet. Cover photos use lb-tablet’s gallery entirely when the app is loaded through lb-tablet — freecam / URL paste from standalone do not apply in that host.
On standalone GS Racing, covers use freecam Take photo when Config.CoverCamera.enabled (needs screenshot-basic + Config.PhotoUpload in server/edit.lua). Set Config.CoverCamera.enabled = false to show only the photo URL input.
What players see
Typical GS Racing sections:
- Home — profile / activity
- Tracks — browse, preview, create
- Host — create a race lobby on a track
- Standings — season reputation leaderboard (optional wipe schedule via
Config.SeasonalStandings) - Scan — vehicle class / illegal-tune style checks
- Stewards — admin course review, live lobbies, builders (Stewards docs)
Tips
- You can enable standalone and LB apps together.
- If nothing opens: confirm the item exists,
EnableStandaloneTabletis true, and the resource started after your framework. - Photo upload: lb-tablet gallery when opened via lb-tablet; freecam → FiveManage on standalone (or URL-only if
Config.CoverCamera.enabled = false).
