[STANDALONE/ESX/QB/VRP] CT_DragStrip v4.5 (Updated 4/9/24) MULTI-TRACK SUPPORT | BETTING | ELO+PERSONAL RANKING

Looking for an authentic drag strip experience? Then look no further!

Time for drag nights to get serious! Challenge a rival racer and take it to Bradenton Motorpark Speedway located at Sandy Shores Airport.

Make sure you do a thick burnout to get those tires nice and sticky and get staged up!

Once you and your opponent have staged, make sure you don’t jump the green light otherwise you’ll get the dreaded red light disqualifier light.

Video:
Resmon Video:

Ruby Rides a Wheelie!:

Photos:

image

Config:

Features:

Fully Functioning and Synchronized Drag Tree.
Lane and Staging Detection. (Pre-Stage/Staged/Red Light)
Quarter Mile Times and Winner Announcements.
Optimized Script (0.02-0.09ms)
If no lights are lit or player is over 125 units from the light the script is at idle at 0.02-0.03ms.
Custom Map Props and Drag Tree Model.

Don’t like the YMAP or location? You can easily edit the config to fit your needs.

Dependencies:
PolyZone
QB-Input
Optional: (But default)
t-notify

Dependencies are included in the download as well if you do not already use those resources.

Update: v1.1.1
I’ve added a config file for easy configuration now.
Updated the Red Light detection to be more accurate.
Added Trap speed to notifications: (Configurable KPH/MPH in config file)
image

Updates from 1.1.1 to 2.1:

  • Added Solo Racing
  • Added Lane Switcher Location (Toggle between Left, Right, Both Lanes)
  • Added Winner Indicator to Staging Tree. (Winner’s side will flash after a win.)
  • Added several more options to the config to configure the new additions.
  • Added Versioning notification system to notify you if your resource is out of date.

Updates from 2.1 to 2.2:

  • Added Dragy Time Slip (UI Code courtesy of @Kuzkay)
  • Added Enable/Disable Dragy to Config.

Update From 2.2 to 2.3

  • Added Webhook abilities for race results.
  • Added Chat Log (with configurable distance check)
  • Added a Shared config file for client/server.
  • Moved PolyZone config to seperate config file.
  • Removed random wrench from map.

image
image
image
image

Update from 2.3 to 2.4

  • Added 0-60MPH + 0-100MPH Trap Times to Dragy.
  • Made some adjustments to chat/discord logging functions.

image

Update from 2.4 to 3.0

  • Refactored code to handle multi-track support.
  • Added example second track at Fort Zancudo. Slightly Modified Version of Zancudo Drag Strip [YMAP] - GTA5-Mods.com. (Removed light to make room for the drag light to spawn)
  • Added track name to race results announcements.
  • Added resource to FiveM Escrow System.
  • Fixed bug where stats were not displayed to chat/discord log when using both lanes.

Update from 3.0 to 3.1

  • Added Betting system - compatible with vRP, ESX, QBCore, and Standalone.
  • Added Framework variable in config.
  • Added Betting Command variable in config.
  • Betting system is in a pool format, you will win the percentage of the total bet for your lane determined by how much you put in.

Update from 3.1 to 3.2

  • Fixed randomized timers for each race.
  • Removed cfg.randomTime
  • Added cfg.randomTimeMin
  • Added cfg.randomTimeMax
  • Feature: Added ability to customize notifications. Default supported notifications: t-notify, qb, vrp, esx, okokNotify, with the ability to add your own notifications.

Update from 3.2 to 3.3

  • Moved all notifications server side.
  • Made the official time notifications available to all within cfg.chatDistance
  • Added cfg.announceOfficialTimesToAllNotification toggle for the mentioned above
  • QB-Core Chat/Notifications now use character names instead of steam name

Update from 3.3 to 3.4

  • Added Support for CT_DragStrip_ELO
  • Added function to get player names for different frameworks to config.
  • Added function to get player identifiers to config.

Update from 3.4 to 3.5

  • Updated ESX Core Getter for both ct_dragstrip and ct_dragstrip_elo.

Update from 3.5 to 4.0

  • Added Drag Strip Configuration Menu (qb-input dependent)
  • Added Class Restrictions to Drag Strip Configuration Menu
  • Added Class Restrictions to Drag Strip _config file (please update accordingly)
  • Added Functions for CT_DragStrip_ELO v2.0
  • Added Configurable /PersonalStats command
  • Increased Finish Line PolyZone Size for Both Tracks (help prevent racers not finishing properly)
  • Added a check for racers that quit the server in the middle of the race and reset the drag strip lights.

Update to from 4.0 to 4.1:

  • Added ox_lib input menu support.
  • Added cfg.inputMenu to config options.

Update from 4.1 to 4.2

  • Added support for custom drag lights. (USE AT OWN RISK) I DO NOT GIVE SUPPORT FOR CUSTOM LIGHTS
  • Added Framework auto detection.

Update from 4.2 to 4.3

  • Added a lot more configurable variables to the config for setting up custom drag lights.
  • Added commands to modify the drag lights individual light placement while in-game.
  • Added range modifiers per stage to improve custom light customization.
  • Added command to modify range modifier per stage while in-game.
  • Added commands to test the light system.
  • Added the ability to customize the light colors.

Update from 4.3 to 4.4

  • Added the ability to modify lights per track.
  • Added the ability to use multiple light models.
  • Updated the debug commands to work with new modifications.

Update from 4.4 to 4.5

  • Added finish time to the chat/discord notifications.
  • Made a slight change to the framework initialization.
  • Cleaned up some of the chat code.

CT_DragStrip_ELO Update from 1.1 to 2.0

  • Added Personal Stats NUI.
  • Added Personal Stats Wipe to Config.
Code is accessible Configs available
Subscription-based No
Lines (approximately) ~2000
Requirements Listed Dependencies
Support Yes

Price: $40
Tebex
Subscription: $15
Tebex

4 Likes

Finally something for car guys.

Its nice and all, but is it just one prop? Can we setup our own polyzones and spawn it as a object to suit our needs?

2 Likes

The Drag Tree itself is just 1 prop (technically it’s a add-on vehicle), and yes you can spawn it where ever you like and yes you can move the PolyZones to where ever you would like. :+1:

2 Likes

I’m having issues getting the staging to work with edited poly zones. I have a drag track out at Zancudo. I lined all the zones up where they’re supposed to be, but the lights on the tree won’t activate for staging. It worked fine out at the strip at Sandy Air Field. I lined the zones up one at a time based on where they were located out there.

Send me a PM with the details and I can assist you with them tomorrow evening. Maybe connect to your test server and see what could be causing your issues. And with doing so, I can write a guide later on with how to move the zones more easily.

All I have to say… Hell yeah brother!

1 Like

Awesome drag script! Worked awesome at my drag strip at Zancudo! Thanks for the help getting it to work out there! 10/10 highly recommend

1 Like

im having the same issue. what was the fix you guys came up with???

Update:
I’ve added a config file for easy configuration now.
Updated the Red Light detection to be more accurate.
Added Trap speed to notifications: (Configurable KPH/MPH in config file)
image

Use the link provided with your purchase to download the latest version.

1 Like

Download the latest version, I made a config file that will resolve your issue. There was a variable I had forgotten to comment that needs to be updated as well when relocating the drag tree.

thanks for your response here and in DM. Works flawlessly now. Script is amazing!

1 Like

No problem, I’m glad you’re enjoying it :slight_smile:

I used the same link that was emailed to me initially to download the new version, but there’s no config file in the download.

Check in the client folder.

1 Like

ahhh there it is…lol Thanks!

1 Like

Glad you found it :+1: :slight_smile:

1 Like

Updates from 1.1.1 to 2.1:

  • Added Solo Racing
  • Added Lane Switcher Location (Toggle between Left, Right, Both Lanes)
  • Added Winner Indicator to Staging Tree. (Winner’s side will flash after a win.)
  • Added several more options to the config to configure the new additions.
  • Added Versioning notification system to notify you if your resource is out of date.

Emails were sent to download the latest version. If you did not receive the email, please PM me here to get your latest version.

Updates from 2.1 to 2.2:

Added Dragy Time Slip (UI Code courtesy of @Kuzkay)
Added Enable/Disable Dragy to Config.

If you have purchased CT_DragStrip already, in order to update your script, you will need to revisit the tebex store.

I have created a new free upgrade package for existing customers for you to download the latest version. That package will be updated going forward with each new version, so you will have to redownload it via tebex/keymaster afterwards.

While I have updated the Tebex packages to comply with FiveM’s new escrow system, I have left the script completely open source to edit as you please with no encryption.

2 Likes

Would it be possible for you to add a couple things like 0-60mph, 0-100mph times on the dragy timeslip? This would help me tremendously with tuning cars.

There’s also a random wrench in the map that has collision. See image.