Vehicle Tracker Dart System
Equip law enforcement with a high-tech tracker dart system for real-time vehicle tracking. This FiveM script is easy to configure, efficient, and enhances tactical gameplay for police and sheriff departments.
This resource is highly configurable, allowing server owners to tweak settings to fit their needs, from dart behavior to blip customization and more.
Get it here: gamzkystore.com (Encrypted & unencrypted)
Support: Discord
Preview: Youtube
Features
- Multiple Dart Modes: Choose between single or multiple active darts based on your server’s preferences.
- Old Dart Management: Customize whether previous darts are destroyed or remain active.
- Overlay Interface: Open an interactive overlay using a configurable key.
- Job Restrictions: Set permissions to restrict dart usage to specific roles like police and sheriff.
- Tracker System Installation: Option to require players to install a tracking system before deploying darts, using an inventory item.
- Vehicle Restrictions: Define which vehicles are eligible for tracking system installation and/or use.
- Dart Capacity: Configure the number of darts a vehicle can carry.
- Self-Destruct Mechanism: Adjust the duration before a dart automatically removes itself.
- Blip System: Fully customizable vehicle blips.
- Synchronized: All tracker darts & blips are synced with other players. By default, other police officers can see the active darts on the map as well.
- Optimized: Efficient script with minimal resource consumption
Resmon: Idle: 0.00ms - Active (Overlay open): 0.06ms
How it works
- Install Tracker System (Optional): Use the required item to install a tracker system on a vehicle before use.
- Open Overlay: Use the assigned key to toggle the dart overlay.
- Shoot Dart: Press the configured key to fire a tracker dart at a vehicle.
- Dart Limits: Vehicles can only carry a set number of darts.
- Track Vehicle: Follow the tracked vehicle through a blip and route on the map.
- Dart Removal: Players can approach a vehicle and remove an attached dart when necessary.
Core/framework related functions are fully accessible in the encrypted version, feel free to create a support ticket in our Discord in case of questions.
Config
Config = {
debug = false,
dartModel = `trackerdart`,
fireCooldown = 3000, -- Time in milliseconds between each dart shot
singeDart = true, -- If enabled, only one dart can be deployed at a time. As a result, this will also create a blip route to the target.
destroyOldDart = true, -- If enabled, the old dart will be destroyed when a new one is deployed. (Must have singleDart on true)
shootKey = 22, -- Key used to shoot the dart (Default 22 / Spacebar)
disabledControls = { -- Controls that are disabled when the overlay is open
22, 76
},
overlayKey = 58, -- Key used to open the overlay (Default 58 / G)
toggleOverlay = true, -- If set to true, the overlay will be toggled on/off when the key is pressed instead of holding it down
overlayPosition = {
vertical = '2.5%',
horizontal = '50%',
},
allowedJobs = { -- Jobs that are allowed to install and/or use the tracker system
['police'] = 0,
['sheriff'] = 0
},
installWithItem = false, -- If set to true, it requires the player to install the tracker system before it can be used
itemName = 'trackersystem', -- The name of the item used to install the tracker system
removeItem = true, -- If set to true, the item will be removed from the player's inventory when the tracker system is installed
onlyAllowedVehicles = true, -- If set to true, only vehicles that are in the allowedVehicles list can have the tracker system installed
dartsPerVehicle = 5, -- The amount of darts a vehicle can 'carry'
selfDestructTime = 900, -- Time in seconds before a tracker dart self destructs (Default: 900 sec / 15 minutes)
interactDistance = 3.0, -- The distance for the target interactions
blipUpdateInterval = 2000, -- The interval in milliseconds to update the blips from server to clients
vehicleBlip = {
sprite = 225,
scale = 0.8,
color = 1,
shortRange = false,
label = 'Tracker Dart',
},
shootPtfx = {
dict = 'core',
name = 'bul_glass_shotgun',
rot = vector3(-90.0, 0.0, 0.0),
scale = 1.5,
},
explodePtfx = {
dict = 'core',
name = 'ent_brk_sparking_wires',
rot = vector3(0.0, 0.0, 0.0),
scale = 1.5,
},
removeAnim = {
dict = 'mp_arresting',
anim = 'a_uncuff',
flag = 51,
},
allowedVehicles = {
[`police`] = 5, -- Override the default amount of darts a vehicle model can carry
[`polgauntlet`] = 5,
[`police2`] = 5,
[`police3`] = 5,
[`police4`] = 5,
[`police5`] = 5,
[`policet`] = 5,
[`sheriff`] = 5,
[`sheriff2`] = 5,
[`fbi`] = 5,
[`fbi2`] = 5,
},
}
Config.Locales = {
['target_missed'] = 'You missed the target',
['install_system'] = 'You need to install the tracker system first',
['no_darts_left'] = 'You do not have any darts left',
['target_has_dart'] = 'There is already a dart on the target',
['dart_attached'] = 'You have attached a dart to the target',
['already_installed'] = 'This vehicle already has a tracker system installed',
['dart_system_installed'] = 'You have installed the tracker system on this vehicle',
['not_allowed_vehicle'] = 'You cannot install the tracker system on this vehicle',
['remove_target'] = 'Remove tracker dart',
['failed_remove_dart'] = 'Failed to remove tracker dart',
['removed_dart'] = 'You have removed the tracker dart',
['only_one_dart'] = 'You can only deploy one dart at a time',
['old_dart_destroyed'] = 'The old dart has been destroyed',
['no_item'] = 'You do not have the item',
['install_target'] = 'Install tracker system',
}
Code is accessible | No, but there is an unencrypted version |
Subscription-based | No |
Lines (approximately) | 1786 |
Requirements | ox_lib, a targeting script |
Support | Yes |