Street Rush

Introduction

Street Rush is an advanced illegal street racing system for FiveM servers, designed to bring high-speed adrenaline and competitive challenges between players. This script transforms your server into an underground racing arena where skill, risk, and strategy define the champions.


Core Features

Custom Races

  • Create fully customizable race tracks with dynamic checkpoints, precise starting lines, and defined finish zones.

Smart Position Validation

  • Players must be properly aligned at the starting line and confirm their position (E) before the race begins, ensuring maximum immersion.

Real-Time Leaderboard & Rewards

  • Automatically registers the top 3 finishers and displays their positions.

  • Configurable rewards system (percentage-based) defined in Config.

Dynamic Police Pursuits

  • If a racer exceeds a certain speed limit, AI police units are triggered into pursuit.

  • Features:

    • Police cars spawn directly behind the racer in formation.

    • Aggressive & fast AI with realistic behavior.

    • Boosted vehicles with enhanced turbo and improved handling.

Ox Lib & Ox Inventory Integration

  • Uses TextUI, notify, and handles rewards efficiently with item and currency support (black_money, cash, etc.).

Permanent Ranking System

  • Fully integrated MySQL database that records player statistics, including:

    • Total races completed

    • Victories & defeats

    • Total earnings from race rewards


Fully Configurable

  • Adjustable entry fees, base rewards, and percentage payouts for the top finishers.

  • Customizable checkpoints, police behavior, and AI aggressiveness.

  • Multi-language support (fr.json, en.json), allowing localized notifications.


Ideal For

  • RP servers with an underground street racing theme.

  • PvP community events featuring high-stakes racing competitions.

  • Gangs, driving crews, and undercover police operations.


Technical Requirements

Dependencies

  • Ox_lib: UI, notifications (lib.notify, lib.showTextUI, lib.registerContext)

  • Ox_inventory: Reward handling (cash, black_money, items)

  • Ox_MySQL: Persistent player statistics (victory count, total races, earnings)

  • Compatible with ESX, QBCore, or standalone with minor adaptations.


Conclusion

With Street Rush, give your players the ultimate thrill of illegal street racing, packed with style, danger, and high rewards. This is a must-have for any FiveM server looking to push the limits of speed and competition.

Last updated