The QBCore Racing Script adds immersive racing mechanics to FiveM servers, allowing players to compete in time trials and races. With customizable race events, countdowns, and race start features, this script enhances competitive gameplay and roleplay by providing a dynamic racing environment for all players on the server.
Track
- There are six sample tracks: ‘00’, ‘01’, ‘02’, ‘03’, ‘04’ and ‘05’ saved in the public tracks list. You can load sample track ‘00’ by typing
/races load pub 00
. To use the loaded track in a race, you need to register the race by typing/races register
. Go to the registration waypoint of the race indicated by a purple circled star blip on the waypoint map and a purple cylinder checkpoint in the world. When prompted to join, type ‘E’ or press DPAD right to join. Wait for other people to join if you want, then type/races start
. - There are backups of the sample tracks in the
sampletracks/
folder with the extension ‘.json’. Track ‘00’ is backed up assampletracks/00.json
. If any of the sample tracks were deleted from the public list of tracks, you can restore them. Copy the deleted track from thesampletracks/
folder to theresources/races/
folder. In the server console, typeraces import 00
to import track ‘00’ back into the public tracks list.
Guide For Race Crater
- Type
/races edit
until you see the message'Editing started'
. Add at least 2 waypoints on the waypoint map or in the world by pressing ‘Enter’ on a keyboard, ‘A’ button on an Xbox controller or ‘Cross’ button on a PlayStation controller. Type/races edit
again until you see the message'Editing stopped'
. Save the track if you want by typing/races save pvt mytrack
. Register your race by typing/races register
. At the starting waypoint of the track, a purple circled star blip will appear on the waypoint map and a purple cylinder checkpoint will appear in the world. This is the registration waypoint which all players will see. Players need to have enough funds to pay for the buy-in. Players should move towards the registration waypoint until prompted to join and type ‘E’ or press DPAD right to join. After all the players who want to join the race have joined, you can start the race by typing/races start
.
- There are four possible types of race you can join:
1. Any vehicle can be used
2. Restricted to a specific vehicle
3. Restricted to a specific vehicle class
4. Vehicles change randomly every lap - Look for registration waypoints which appear as purple circled star blips on the waypoint map. The label for a blip in the waypoint map will indicate the player who registered the race, the buy-in amount, the number of laps, the DNF timeout, if AI drivers are allowed and other parameters of the race. There will be corresponding purple cylinder checkpoints in the world.
- If the race allows AI drivers to be added, the label will include ‘AI allowed’. The person who registered the race can add as many AI drivers as they like. Buy-in amounts will be set to 0.
- If the race is restricted to a specific vehicle, the label will include ‘using [vehicle]’ where [vehicle] is the name of the restricted vehicle. You must be in that vehicle when you join the race. You can spawn the restricted vehicle by typing
/races spawn [vehicle]
where [vehicle] is the restricted vehicle. For example, if the label shows ‘using zentorno’, you can spawn the vehicle by typing/races spawn zentorno
. - If the race is restricted to a specific vehicle class, the label will include ‘using [class] class vehicles’ where [class] is the vehicle class. The class number will be in parentheses. You must be in a vehicle of that class to join the race. If the class is not ‘Custom’(-1), you can list vehicles in the class by typing
/races lvehicles [class]
where [class] is the vehicle class number. If the class is ‘Custom’(-1), you can view which vehicles are allowed in the race by getting out of any vehicle you are in, walking into the registration waypoint on foot and trying to join the race as described later. A message in the chat window will tell you that you cannot join the race and will list which vehicles are allowed.
If the race changes vehicles randomly every lap, buy-in amounts will be set to 0 and the label will show one or more of the following.
- If there are no restrictions on the vehicles used, the label will include ‘using random vehicles’.
- If the race is restricted to a specific vehicle class, the label will include ‘using random [class] class vehicles’ where [class] is the vehicle class. The class number will be in parentheses.
- If the label includes ‘start [vehicle]’, racers will start in the specified [vehicle].
- If the label includes ‘recurring’, vehicles that appeared in previous laps may be used in later laps.
- If the label includes ‘nonrecurring’, vehicles that appeared in previous laps will not be used in later laps.
- If the label includes ‘unordered’, every racer may use a different random vehicle after the same lap number.
- If the label includes ‘ordered’, every racer will use the same random vehicle after the same lap number.
- To join the race, you will need to move toward the registration waypoint until prompted to join. The prompt will indicate who registered the race, if it uses an unsaved track or a publicly or privately saved track along with its saved name, the buy-in amount, the number of laps, the DNF timeout, if AI drivers are allowed and other parameters of the race. If there is a restriction on the vehicle or the vehicle class that can be used, you will need to comply with the restriction to join the race. You must have enough funds to pay for the buy-in amount. You can check how much funds you have by typing
/races funds
. Type ‘E’ or press DPAD right to join the race. The player who registered the race will be the one who starts the race. Once they start the race, all racer’s vehicles will be frozen until the start delay has expired and the race has officially begun. Follow the checkpoints until the finish. The results of the race will be broadcast to all racers who joined. Prize money will be distributed to all finishers. If you want to see the results again, type/races results
.
Need help?
If you have any other questions or issues related to this product, you can contact us. This script works well with our Qbcore Vehicle Repair Script for enhanced roleplay communication
Visit if you’re looking for anything regarding this RedM script
Reviews
There are no reviews yet.