[FREE] 5M-CodeX D.A.R.T

D.A.R.T
Direct Automotive Reciver & Transmitter

D.A.R.T is a resource for FiveM that provides driver assistance and vehicle tracking functionality for emergency vehicles. It allows players to mark and track nearby vehicles, enhancing their ability to respond to emergencies effectively. The resource includes server-side and client-side scripts, along with a configuration file to customize various options.

Features

  • Track nearby vehicles from an emergency vehicle
  • Marked vehicle location updates in real-time on the map
  • Cooldown system to prevent spamming the tracking feature
  • Customizable blip settings

Roadmap

Here’s a roadmap of the planned features and improvements for D.A.R.T:

  • Implement basic vehicle tracking functionality

  • Add cooldown system to prevent spamming

  • Customize blip settings

  • Add additional configurable options for more customization

  • Implement a command to toggle tracking on/off

  • Add particle effect to indicate marked vehicles

  • Implement sound effects for tracking events

  • Create a job bridge for integration with job systems (e.g., ESX, vRP)

  • Add support for marking multiple vehicles simultaneously

  • Bug fixes and optimizations

Installation

  1. Download the latest release of D.A.R.T.
  2. Extract the contents of the ZIP file into your FiveM server resources folder.
  3. Add start dart to your server.cfg file.

Configuration

You can customize the behavior of D.A.R.T by modifying the options in the config.lua file. Here are the configurable options:

You can customize the behavior of D.A.R.T by modifying the options in the config.lua file. Here are the configurable options:

  • TrackingDuration: The duration (in seconds) for which a vehicle is tracked.
  • CooldownDuration: The duration (in seconds) of the cooldown period between tracking attempts.
  • BlipSprite: The sprite ID of the blip displayed on the map for marked vehicles.
  • BlipColor: The color ID of the blip displayed on the map for marked vehicles.
  • BlipDisplay: The display mode of the blip on the map for marked vehicles.
  • UseCommand: Set to true to use the command, false to use the keybind
  • CommandName: Command name to fire the dart
  • Keybind: Keybind to fire the dart

Usage

To start tracking a nearby vehicle, enter an emergency vehicle and use the /firedart command. The nearest vehicle will be marked with a blip on the map, indicating its location. The blip will be visible to all players on the server. There is a cooldown period between each tracking attempt to prevent spamming.

License

D.A.R.T is licensed under the MIT License. See the LICENSE file for more details.

Download

Examples

Back up Video

Code is accessible Yes
Subscription-based No
Lines (approximately) 40ish
Requirements N/A
Support Yes
3 Likes

Are you sure this works as intended?
I don’t see a server.lua

1 Like

There is a video that displays it working as intended.

https://cdn.discordapp.com/attachments/982855421779922944/1120911512064765992/image.png

NPC Despawn

Player Spawned Car





image
image

image


So to me this works 100% how I have listed in the completed roadmap, if you feel like this is something I am missing or that is wrong. Please do feel more than free to correct, or let me know.

No I mean… in the title, you’ve said
“The resource includes server-side and client-side scripts”
And there is no server.lua in GitHub.
So, I’m speculating. I have not tested it myself. Just bringing it to notice.

1 Like

Ah, yes thank you. I do notice where it says that, that was the orginal plan yet it has changed since i started a week ago.

I soon plan to add a configurable file, and will update the listing soon. Thank you for noticing this error.

Hey, so the server side implementations will be added in v1.1.

I am currently partnered with @TheStoicBear to make a range of fivem scripts. I had intended to add it for 1.0, however I did not get the chance.

The server side script will be used to broadcast the blip to other onduty law enforcement officers (if enabled), and I may potentially add the ability for players to physically remove the dart from the vehicle, thus meaning the dart location does not update.

https://github.com/5M-CodeX/codex-dart/releases/tag/v0.0.3

New Updates!

[x] Implement a command to toggle tracking on/off

[x] Add additional configurable options for more customization

any way to make this qbcore so it can use an item and only be visible by on duty cops?

is there a updated github for this

thank you

1 Like