Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Vehicle Scripts

Advanced Racing Pack FiveM resource preview

Advanced Racing Pack

Frameworks:
  • QBCore

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
QBCore
Version
1.0.5
Dependencies
qb-phoneqb-target
File size
35 kB
Updated
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

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.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

In your downloads
  • JG Dealerships
    • ESX
    • QBCore, Qbox
    Not for your framework

    JG Dealerships

    JG Scripts

    $30.00$21.00
  • Car Radio
    • ESX
    • QBCore, vRP
    Not for your framework

    Car Music System V3 [Standalone]

    $14.99$10.49
  • Simple ESX HUD FiveM resource preview
    • ESX
    • Standalone, QBCore, Qbox

    Airbags Script

    Big Daddy

    $9.00$6.30
  • mCarControl
    • ESX
    • QBCore
    Not for your framework

    CodeM mCarControl

    CodeM

    $5.00$3.50
  • Quasar Vehiclekeys 2.0 FiveM resource preview 2
    • ESX
    • Standalone, QBCore, Qbox

    Quasar Vehiclekeys

    Quasar Scripts

    $10.00$7.00
  • CodeM mVehicleshop v2 FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    CodeM mVehicleshop v2

    CodeM

    $15.00$10.50
  • Smart Motorways
    • ESX
    • QBCore, Qbox, vRP
    Not for your framework

    London Studios Smart Motorways

    London Studios

    $30.00$21.00
  • Cardealer by Zerio
    • ESX
    • QBCore, Qbox
    Not for your framework

    Zerio Cardealer

    $19.00$13.30