Skip to content
RPScripts

FiveM Vehicle Scripts

Advanced Racing Pack FiveM resource preview

Advanced Racing Pack

  • QBCore

Description

Advanced Racing Pack is the pug-racing resource for QBCore servers. It replaces the lap race logic behind qb-phone's racing app: players create tracks, set up races and compete under an alias. QBCore only.

Features

  • In-game track editor; tracks are saved in the lapraces table with checkpoints, records, creator and distance
  • Race setup with number of laps and an optional phasing (ghosting) setting, started through qb-phone
  • Track creation limited to whitelisted citizen IDs, or open to everyone with Config.AnyOneMakeRace
  • Racer aliases: players need an item (default vpn) to get an alias; an Alias USB item (ausb2) is included in the install notes, and you can allow one alias only or unlimited changes
  • Race payouts in a configurable currency (default crypto)
  • Optional racing USB item on alias creation
  • Exports IsInRace and IsInEditor for other resources

Requirements

  • QBCore
  • qb-phone (callbacks must be edited as shown in the README)
  • qb-target (used in client/main.lua)

Installation

  • Import qb-lapraces.sql.
  • Add PlayerData.metadata['alias'] to qb-core/server/players.lua and add the ausb2 item to your shared items, as described in the README.
  • Replace the racing callbacks in the qb-phone client.lua with the versions from the README.
  • Add ensure pug-racing to your server.cfg.

Details

Frameworks
QBCore
File size
35.8 kB
Updated
Oct 12, 2026
How to install it

Installation

  1. Unzip the download into your server's resources folder.
  2. Add these lines to server.cfg, in this order:
    ensure pug-racing
  3. Some files are Cfx escrow-protected (.fxap). Keep them unchanged.

Known problems the Lab found:

  • pug-racing: The manifest lists a file that is missing.

Checked: 1 resource. Not checked: escrow-protected code in 1 resource.

From a static check of the files by the RPScripts Lab. It is not a test that your server starts.

Can't find the exact script? Generate it.

Describe a custom script. 3 free credits per day, up to 15 per calendar month; no card needed.

Try the FiveM AI Script Generator