For the complete documentation index, see llms.txt. This page is also available as Markdown.

5s_racing

Advanced racing system with an in-game track creator, multiple race types, ELO ranking, prize pools and a clean tablet UI.

πŸ“– Documentation Sections

  • πŸ–₯️ Install - File installation, dependencies and server.cfg setup

  • πŸ”§ Configuration - Every config option, explained

  • πŸ“ Editable Files - Files you can safely modify (framework, payments, ELO, classes)

  • πŸ’» Exports - Exports to use in your code

  • ❓ FAQ - Answers to questions asked frequently

πŸš€ Quick Start

  1. Place the script in your resources/[5s]/ folder

  2. Add ensure 5s_racing to your server.cfg (after the dependencies below)

  3. Connect to your server and open the tablet with /racingtablet

  4. The database tables are created automatically on first start

πŸ“¦ Dependencies

  • ox_lib (required)

  • 5s_lib (required, included in the package)

  • oxmysql (required)

✨ Features

  • In-game track creator - place checkpoints, props, peds and particle effects, then save and share tracks without leaving the game

  • Multiple race types - Sprint, Drift and Elimination, plus track-locked Drag races with their own countdown timer

  • Laps / circuits - any non-drag track can be raced for multiple laps

  • ELO ranked system - a skill rating that rises when you beat stronger drivers and falls when you lose, scaled by track length

  • Vehicle performance classes - cars auto-rated D β†’ X from their stats, plus native classes for bikes, off-road, vans and bicycles

  • Leaderboards & personal bests - per-track best times (per class or global) and drift-score boards

  • Prize pool - entry fees pooled into a pot and paid out by finishing position, with an optional house cut

  • Proximity join - walk up to a race and press a key to join

  • Automated races - the server can host public races on a timer, no player host required

  • Checkpoint decoration presets - dress checkpoints with tyre walls, flags, cones or flares that follow the gate in the editor

  • Quality-of-life HUD - sliding checkpoint blip window, route line, wrong-way warning, ghost mode and unit-system (metric/imperial) preference

  • Tablet UI - browse races, manage tracks, view your driver profile and stats from a single in-game tablet

  • Discord webhooks - log finished races, created races and track changes

  • Anti-cheat & limits - cooldowns, distance checks and per-track caps out of the box

  • Multi-language - English and Polish included, easily extendable

Last updated