[Free] [Open Source] Scripts for loading and creating GTA:Online races in FiveM

:mascot:2025/11/26 Update

:hammer_and_wrench:Optimizations:

  • [custom_creator] Rename currentstartingGridVehicle to currentStartingGridVehicle
  • [custom_races] Improved respawn in GTA mode

:bug:Bug Fixes:

  • [creator&races] Fixed an issue where touch pit checkpoint when not in vehicle

:mascot:2025/11/29 Update

:bug:Bug Fixes:

  • [custom_races] Fixed an issue where attempt to index a nil value when player finish race

:mascot:2025/11/29 Update 2

:star2:New Features:

  • [custom_races] Display players ping value

:bug:Bug Fixes:

  • [custom_races] Fixed an issue where black screen duration under high latency in spectator mode
  • [custom_races] Fixed an issue where render invitations list in room NUI

:mascot:2025/12/07 Update

:bug:Bug Fixes:

  • [creator&races] Fixed a rare issue where failed to set player coords at the specified height when creating / respawning / transforming / warping / teleporting
  • [creator&races] Fixed a rare issue where model is not a vehicle when creating vehicle

Edited (2025/12/07 Update 2):

  • [custom_creator] Cleaned up the code of some global variables
  • [custom_creator] Modified ExportFileToWebhook function according to new Discord API

:mascot:2025/12/08 Update

:bug:Bug Fixes:

  • [custom_races] Fixed an issue where entity param passed to SetEntityLodDist is nil

:mascot:2025/12/12 Update

:hammer_and_wrench:Optimizations:

  • [creator&races] Updated translations (now support 13 languages for both scripts)
  • [creator&races] Updated vehicle list to GameBuild 3717
  • [custom_creator] Updated prop list to GameBuild 3717
  • [custom_creator] A misc setting to toggle preview alpha when spawning object

:bug:Bug Fixes:

  • [custom_races] Fixed an issue where no sound is played when clicking the join room button
  • [custom_races] Fixed potential issues

:mascot:2025/12/18 Update

:bug:Bug Fixes:

  • [custom_creator] Fixed a compatibility issue where an error occurred when unpublishing racing tracks

:mascot:2025/12/21 Update

:star2:New Features:

  • [creator&races] Added advanced options (Random Transform List/Random Vehicle List/Random Select/Random Classes/Random All) for random checkpoint

:hammer_and_wrench:Optimizations:

  • [custom_creator] Moved cycle items to the top of the options
  • [custom_races] Cleaned up client configs

:bug:Bug Fixes:

  • [custom_creator] Fixed an issue where available vehicles were not synchronized in the multiplayer creator
  • [custom_creator] Fixed an issue where parameters were not filtered when exporting the map to GTAO
1 Like

Great new features. Btw, for random checkpoints, are there currently repeat vehicles?

Right now each checkpoint uses its own random settings, and there’s no global setting enabled, so vehicles can repeat. But since it also has to work with the multiplayer creator, I can add a small patch in the future to keep track of which vehicles have already been rolled.

Alright. Thank you

:mascot:2025/12/25 Update

:bug:Bug Fixes:

  • [creator&races] Fixed an issue where the network control of join vehicle was lost when quiting creator or race
  • [custom_creator] Fixed an issue where secondary checkpoint with plane rotation couldn’t be inserted
  • [custom_races] Fixed an issue where players who were still racing were forced into the results screen when players who had already finished left the server

:christmas_tree: Merry Christmas! :christmas_tree:

1 Like

:mascot:2025/12/29 Update

:hammer_and_wrench:Optimizations:

  • [creator&races] Weather-related settings

:bug:Bug Fixes:

  • [custom_races] Fixed an issue where props could still spawn after a race ended due to bad network

Given that many people are not proficient in using Python, I have developed a small browser tool that some may find interesting. After concluding the AB test, I will release the tool in GitHub. The source code is quite simple, and you can even have AI assist you in writing one xD.

3 Likes

That’s pretty neat. Thanks

:mascot:2026/01/19 Update

  • Added UGC JSON Searcher to fetch the json file
  • Added Bookmarked Jobs Exporter to batch fetch json files from bookmarked jobs (in-game-to-do, v0.1-for-preview, not-working-now)

How to install tools?

:mascot:2026/01/23 Update

:hammer_and_wrench:Optimizations:

  • [custom_creator] Optimized the saving of preferences and templates

:bug:Bug Fixes:

  • [custom_creator] Fixed an issue where cptrtts (random checkpoint type should >= 0, not -1 or -2 in GTA Online) was not reset when exporting track to webhook
  • [custom_races] Fixed an issue where the plane checkpoints did not change color in spectator mode

:mascot:2026/01/23 Update 2

:star2:New Features:

  • [custom_races] Added more infos for racer’s country/region and peripherals in position + scoreboard + spectator UI

:bug:Bug Fixes:

  • [custom_creator] Fixed an issue where memory was not being released after players left the server

:mascot:2026/02/03 Update

:star2:New Features:

  • [creator&races] Added support for dynamic loading and unloading of props — you can now import or create tracks with an effectively unlimited number of props

Note: there is a limit of 300 props in my code per 100×100 cell block. And due to XYZ boundary, the practical maximum is approximately 30,720,000 props

:hammer_and_wrench:Optimizations:

  • [creator&races] Enhanced data loading prompts
  • [creator&races] Improved model dimensions caching
  • [custom_races] Improved the initial opening of the track menu

:bug:Bug Fixes:

  • [custom_creator] Fixed a rare issue where the session was not reset after all players dropped in a multiplayer session
  • [custom_races] Fixed an issue where accepting and joining an invitation from an empty invitation list caused the NUI focus to disappear
  • [custom_races] Fixed an issue where the creation of secondary checkpoint blip
1 Like

:mascot:2026/02/04 Update

:star2:New Features:

  • [custom_creator] Added support for merging multiple UGC tracks

:hammer_and_wrench:Optimizations:

  • [custom_creator] Refresh grids every minute

:bug:Bug Fixes:

  • [custom_creator] Fixed an issue where session was destroyed incorrectly