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

:mascot: Before you download this script, you need to know:

  • If you are a beginner, I need to tell you that I do not provide any help
  • I don’t care about open source license or commercial license, I just want to let you know that the script is free to modify, sell, etc., but you are not allowed to obfuscate the code or use FiveM escrow system to encrypt it even for anti-cheating
  • Do not compare with other scripts or tools, such as codewalker, GTAV Race Creator, etc.

:checkered_flag: Features:

  • :ballot_box_with_check: Support to create races
  • :ballot_box_with_check: Support 13 languages like GTA:Online
  • :ballot_box_with_check: Filter races by name
  • :ballot_box_with_check: Teleport cheat for hard stunt races
  • :ballot_box_with_check: Ghost mode like GTA:Online
  • The script contains many functions that cannot be displayed in one video. Use the script more to understand or read the code to quickly discover

Installation tutorial
Download link

:interrobang: FAQs just for forum:

  • 1.Is there any legal risk of importing other people’s UGC without their consent?

I don’t know what law, I just know that the update of GTA:O broke BMX, so we have to get a friendly gaming experience on FiveM, importing UGC is necessary for us, and the original map creators are also in my server, so I think it has something to do with morality (stealing other people’s achievements, blah blah blah)

  • 2.How can I disable menu scripts such as vMenu RageUI ScaleformUI in racing or creator?

You can allow or prohibit opening the menu after some events are triggered, but this requires a certain amount of coding ability. I can’t help you disable vMenu in my script because most menus are key binds, not detecting whether a key is pressed. On the contrary, my scripts all detect whether a key is pressed, so you can easily disable them when appropriate

  • 3.Script permission issues

If you have learned how to configure txAdmin, you should be able to easily configure the discord parameters correctly in config, otherwise please use other methods: verify the license identifier, or read and modify the code to give everyone permissions

  • 4.Compared with other scripts, why is your config so little?

Because it is open source, config is actually meaningless. I just added some config symbolically for easy readability

  • 5.Missing translation, inaccurate translation?

Creator currently only has two language translations, en and cn. Race covers 13 language translations supported by the game itself. You can complete or correct the translation yourself. Of course, contributing PR is also a good choice

  • 6.Why is my vehicle a BMX? How can I use a custom vehicle?

Enter the vehicle before the race (make sure the game mode is default) or before the creator. Otherwise, it will be a BMX, because the script is created for BMXers. You can add a more complex vehicle custom modification system yourself

  • 7.The vehicle cannot start after respawn. Why does it prompt that the fuel is insufficient?

Disable your fuel script during the race. If the fuel script is encrypted, I suggest you go to the original author for help

  • 8.More questions about the script’s feature request

First, read this. Second, a small number of people want me to implement a game mode content creator similar to RSM, GSA, etc. servers. To be honest, I have not played their servers. If you want to create different game modes through the creator, I think you may need to spend time to rewrite the code yourself instead of looking for ready-made free or paid scripts

Code is accessible Yes
Lines (approximately) 20000+
Requirements Standalone
Support No
17 Likes

:mascot:2025/05/07 Update

:star2:New Features:

  • [custom_creator] Added 500 new stream props from gta5-mods/A1Draco to object lists, download FiveM version here >>> Google Drive 1GB
  • [custom_creator] Added prop stacking feature, which is effective for some props, such as props in category 19 and category 25 and more

:hammer_and_wrench:Optimizations:

  • [custom_creator] Two alignment are available: World / Relative
  • [custom_creator] Clear area for broken objects when quiting test
  • [custom_creator] Clear wetness and blood when respawning
  • [custom_races] Clear wetness and blood when respawning

:bug:Bug Fixes:

  • [custom_creator] Fixed an issue where lastValidHash == 0
  • [custom_creator] Fixed an issue where ped has a parachute when quiting test
  • [custom_races] Fixed an issue where host can click leave room button when race is starting
1 Like

I have wanted this in FiveM for so so long but have never found anything that looks good. You are an absolute legend!

2 Likes

:mascot:2025/05/17 Update

:hammer_and_wrench:Optimizations:

  • [custom_creator] Temporarily close creator when in ALT F4 warning page to prevent unexpected callback errors
  • [custom_creator] Added more error prompts when creating folders or saving files
  • [custom_creator] Added progress prompts for category list and model list
  • [custom_creator] Improved code when joining and exiting creator
  • [custom_races] Improved code when joining and exiting race

:bug:Bug Fixes:

  • [custom_creator] Fixed an issue where currentObject was not reset in some cases
  • [custom_races] Fixed an issue where ped heading was not reset correctly after leaving the room or being kicked lol

:mascot:2025/05/21 Update

:star2:New Features:

  • [custom_creator] Filter races option
  • [custom_creator] Movement and rotation speeds will remain consistent at any FPS value
  • [custom_races] Display each player’s FPS on the scoreboard
  • [custom_races] Display current lap time in the lower right corner

:hammer_and_wrench:Optimizations:

  • [custom_creator] No longer get vehicle’s broken/health related properties
  • [custom_creator] Optimized prints about invalid models
  • [custom_races] No longer get vehicle’s broken/health related properties
  • [custom_races] Optimized prints about invalid models

:bug:Bug Fixes:

  • [custom_creator] Fixed an issue where some non-racing maps can not be load
  • [custom_races] Fixed an issue where some controls were not disabled every frame when in spectator
1 Like

nice work :heart:

1 Like

Holy shit, this is amazing! I’ve got my own custom made stunt racing script, but didn’t want to start creating my own stunt race creator as well. So this makes it much easier for me. Thank you!

:mascot:2025/05/30 Update

:star2:New Features:

  • [custom_creator] Export FiveM tracks to Discord webhook
    Then with modTool you can import them to GTA Online, thanks to jora (modTool’s author)

modTool is a popular third-party tool for GTA Race Creator, but to prevent abuse, only the copy options are paid
modTool Documentation
modTool Discord

  • [custom_races] Support to select garage vehicle as the starting vehicle on the vehicle selection page
    Only work for my own garage script and database. Read the code (not config) to compatible with your garage script and database yourself

:hammer_and_wrench:Optimizations:

  • [custom_races] Removed unused config, such as the framework in config
  • [custom_races] Optimized the respawn of fake checkpoints
  • [custom_races] Enabled beast mode sound
  • [custom_races] Optimized GetLabelText to exclude special characters
  • [custom_races] Optimized network sync, greatly reducing network bandwidth usage for high-frequency data transmission scenarios with more than 30-players
  • [custom_races] Rewrote a large number of function names/event names/variable names, and cleaned up a large number of unnecessary comments

:bug:Bug Fixes:

  • [custom_creator] Fixed an issue where secondary checkpoints were not loaded
2 Likes

Thank you for this bro. Appreciate the work you put into this script.

:mascot:2025/06/22 Update

:star2:New Features:

  • [custom_creator] A NEW multiplayer creator feature
    IMAGE ALT TEXT HERE
  • [custom_creator] Support to set arena prop physics
  • [custom_creator] Support to set firework effects
  • [custom_creator] Support to display blimp text
  • [custom_creator] Support to remove fixtures

:hammer_and_wrench:Optimizations:

  • [custom_races] New theme

:bug:Bug Fixes:

  • [custom_races] Fixed widescreen UI (21:9 32:9)
1 Like

:mascot:2025/06/25 Update

:bug:Bug Fixes:

  • [custom_creator] Fixed an issue where object sometimes rolls back incorrectly

:mascot:2025/07/03 Update

:star2:New Features:

:hammer_and_wrench:Optimizations:

  • [custom_creator] Optimized prop z pos lock
  • [custom_creator] Disabled more controls in creator
  • [custom_creator] Added quit delay
  • [custom_races] Optimized configs width
  • [custom_races] Optimized update button left pos
  • [custom_races] Optimized finish result UI
  • [custom_races] Deleted font-weight for tag and notification
  • [custom_races] Formatted html code

:bug:Bug Fixes:

  • [custom_creator] Fixed duplicate threads

Great racing script and race creator! The only problem I have with this, is when the race is starting. There is no sync 321 Go.

I am not familiar with scaleform, so scaleform UIs are not considered
btw it will increase the time to start the race, I would rather start faster

:mascot:2025/07/07 Update

:hammer_and_wrench:Optimizations:

  • [custom_races] Changed the name of transformIsSuperJump variable to transformIsBeast
  • [custom_races] Completed the translation of parachute and beast
  • [custom_races] Display the localized names of vehicles used by players in different language clients
  • [custom_races] UI with aspect ratio > 16/10 will be dynamically stretched
  • [custom_races] Improved some text overflow

:bug:Bug Fixes:

  • [custom_creator] Fixed an issue where subtitle not being capitalized
  • [custom_creator] Fixed an issue where currentObject not reset when camera > 2700m and LT/RT is pressed
1 Like

:mascot:2025/07/15 Update

:hammer_and_wrench:Optimizations:

  • [custom_creator] Refactored the permission system
  • [custom_races] Refactored the permission system

[How To]

  1. Set config in both scripts
Config.Discord = {
	enable = false,
	api_url = "https://discord.com/api/v10",
	bot_token = "",
	guild_id = "",
	role_ids = {"", ""},
	whitelist_license = {"license:", "license:"},
	whitelist_group = {"admin", "racer"} -- like these
}
  1. Type these in server console
    setgroup_creator_permission 411dff78069e21459fad5d9bd3bffaa9c52 admin
    setgroup_creator_permission 527da3929c52c0e443805fb668s686s7a0d racer
    setgroup_creator_permission 77dc447bafc7f2a2a296a2qd468fs35eb15 racer
  2. Done!

:bulb:This is just an example. You can read the code and modify it to adapt your own permission system
:bulb:And, to remove a group for a specific license you need to modify the database manually

:mascot:2025/07/16 Update

:hammer_and_wrench:Optimizations:

  • [custom_creator] Improved cn translation
  • [custom_races] Improved cn translation

:bug:Bug Fixes:

  • [custom_creator] Fixed an issue where forgetting to tag user in discord webhook
1 Like

:mascot:2025/07/17 Update

:hammer_and_wrench:Optimizations:

  • [custom_creator] Filter characters when setgroup

:bug:Bug Fixes:

  • [custom_races] Fixed an issue where NUI takes more than 1s to initialize on low-end performance machines

:mascot:2025/07/25 Update

:star2:New Features:

  • [custom_races] Full support for Xbox controller in NUI

:hammer_and_wrench:Optimizations:

  • [custom_creator] Cancel key detection to optimize resmon
  • [custom_races] Cancel key detection to optimize resmon

New commands open_creator open_race check_invitation quit_race
Example:

ExecuteCommand("open_creator") -- to create/import/load a track
ExecuteCommand("open_race") -- to create/join a room
ExecuteCommand("check_invitation") -- to accept/deny an invitation
ExecuteCommand("quit_race") -- to quit race room when in racing or spectating

:bug:Bug Fixes:

  • [custom_creator] Fixed an issue where rare fixture entity not unhighlighted after quiting creator
  • [custom_races] Fixed an issue where button hover effects would sometimes trigger infinitely
  • [custom_races] Fixed an issue where no sound is played when clicking some buttons when reopening the NUI interface

:mascot:2025/07/26 Update

:hammer_and_wrench:Optimizations:

  • [custom_creator] Added lock/unlock function exports
    • exports['custom_creator']:lockCreator()
    • exports['custom_creator']:unlockCreator()
  • [custom_races] Added lock/unlock function exports
    • exports['custom_races']:lockRace()
    • exports['custom_races']:unlockRace()