> For the complete documentation index, see [llms.txt](https://atiysus-organization.gitbook.io/aty-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://atiysus-organization.gitbook.io/aty-scripts/dispatch-v2/introduction.md).

# Introduction

## aty\_dispatchv2 - Advanced Dispatch System

### Overview

A modern, highly configurable dispatch system for FiveM, built for ESX. Featuring a sleek interface with a focus on both functionality and aesthetics, this script offers realistic crime detection, an integrated GPS system, and dynamic unit responding capabilities.

### Features

* **Modern UI:** Sleek Vue.js interface with two available theme options (`default` & `minimal`).
* **Responder System:** Emergency personnel can respond to active calls (default: `G`) and cancel responses (default: `H`).
* **Realistic Detection:** Distance and line-of-sight checks for crimes like shooting and speeding to make environmental triggers realistic.
* **Integrated GPS System:** Job-specific tracking blips on the map, with options to require a physical GPS item and retain it after death.
* **Smart Cooldowns:** Built-in timeouts to prevent notification spam for identical events.
* **Multi-Department Support:** Configurable UI colors and handling for various departments (Police, Sheriff, Ambulance).
* **Job Whitelists:** Prevent specific jobs from triggering civilian dispatches (e.g., police firing a weapon won't trigger a public shooting dispatch).
* **Interactive Menu:** Easily filter and search through dispatch history, view exact distances, and focus on locations.

### Dependencies

* `ESX - QBCore`
* `aty_lib`
