Pursuit Mode Script for Emergency Vehicles

[RELEASE][ESX/QBCore] Pursuit Mode Script for Emergency Vehicles :oncoming_police_car::dash:

Description:
This script provides emergency responders with an enhanced pursuit mode, specifically optimized for high-speed chases. The mode improves handling and maneuverability of emergency vehicles without increasing top speed. The script dynamically adjusts traction, driving behavior, and curve stability to offer a realistic and controlled pursuit experience—ideal for police RP servers!


:package: Features:

  • Enhanced Handling: Improved traction and stable cornering behavior, ideal for pursuit situations.
  • Anti-Tip Protection: Optimized stability adjustments to prevent vehicle tipping during sharp turns.
  • Adaptive Acceleration: Automatically adjusts acceleration dynamics, allowing for controlled maneuvering around tight corners.
  • Easy Activation: Activate via /pursuit command, available only in authorized emergency vehicles.
  • User-Friendly Indicator: Green and red status indicator for pursuit mode, visible only to the driver.

:video_game: Usage:

  1. Command: Enter /pursuit in the chat to toggle the pursuit mode on or off.
  2. Indicator: A green light shows when pursuit mode is active, and a red light shows when it’s inactive. The light is visible only to the driver.
  3. Automatic Deactivation: The script automatically monitors if the player exits the vehicle or enters an unauthorized vehicle, disabling the mode in such cases.

:wrench: Configuration (config.lua)

The script includes a configuration file (config.lua) where you can define allowed vehicle classes and forbidden vehicle types. This makes it easy to tailor the script to your server’s needs.

Example configuration:

lua

Config.AllowedVehicleClasses = {
    [18] = true, -- Police
    [20] = true  -- Ambulance
}

Config.ForbiddenVehicleTypes = {
    "heli", -- Helicopters
    "plane", -- Planes
    "boat"  -- Boats
}

:hammer_and_wrench: Installation:

  1. Download the files and add the script to your resources folder.
  2. Add start <scriptname> to your server.cfg.
  3. Done! The script is ready to use.

:camera_flash: Preview (Screenshots/Videos)

video
buy


:moneybag: Price

  • One-Time Payment: 3,60 €

:memo: TOS (Terms of Service):

  • No Redistribution: This script cannot be resold or shared.
  • No Refunds: Due to the digital nature of this product, refunds are not available after purchase.
  • Support: Updates and support are included with the purchase.

Feel free to reach out with any questions. I look forward to enhancing your server’s pursuit experience with this realistic and powerful script!

Code is accessible No
Subscription-based No
Lines (approximately) 127
Requirements latest server build
Support Yes
1 Like

i made a update for this resource

  • Multilingual Support: Added support for multiple languages, allowing users to select their preferred language in config.lua. Currently supports English and German.
  • Indicator Visibility: The pursuit mode indicator is now only visible in authorized emergency vehicles, ensuring it doesn’t display in other vehicle types.
  • Improved Stability: Adjustments made to traction and handling values to prevent vehicle tipping, while maintaining agility for high-speed chases.