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

# Hane Dispatch

Advanced Dispatch & Unit Management System

Hane Dispatch is a fully featured dispatch and unit management system designed for emergency services roleplay. It provides a real-time notification panel, a full-screen tablet interface, and a complete unit management system — giving officers, EMS, and command staff the tools they need to coordinate effectively in the field.

***

#### 🔑 Key Features

* **Real-time side panel notifications** with priority levels (high / medium / low)
* **Full-screen tablet interface** with dispatch history, filtering, and responder tracking
* **Unit management system** with drag & drop officer assignment
* **KOD/CODE command system** with configurable codes and cooldowns
* **Quick respond system** (E key) for instant dispatch response and GPS waypoint
* **Automatic shooting detection** with weapon type classification
* **Multi-framework support** — QBX, QBCore, and ESX out of the box
* **Multi-language locale system** (Turkish & English included, easily extensible)
* **Built-in blip system** with auto-cleanup and duration control
* **Export API** for seamless integration with external scripts

***

#### 📦 Dependencies

| Resource       | Required | Notes                                    |
| -------------- | -------- | ---------------------------------------- |
| `ox_lib`       | ✅ Yes    | Core dependency                          |
| `ox_inventory` | ❌ No     | Optional — for item-based tablet opening |
| `lb-tablet`    | ❌ No     | Optional — for dispatch forwarding       |

***

#### 🎮 Supported Frameworks

| Framework | Status      |
| --------- | ----------- |
| QBX Core  | ✅ Supported |
| QBCore    | ✅ Supported |
| ESX       | ✅ Supported |

> Framework is auto-detected by default. You can override this in the config.

***

#### 📁 Resource Structure

```
hane_dispatch/
├── bridge/
│   ├── client.lua        # Client-side framework bridge
│   ├── loader.lua        # Auto-detection framework loader
│   └── server.lua        # Server-side framework bridge
├── client/
│   ├── main.lua          # Main client logic & NUI handling
│   └── quickresponse.lua # Quick respond (E key) system
├── html/
│   ├── index.html        # NUI interface
│   ├── css/style.css     # NUI styling
│   └── js/app.js         # NUI application logic
├── locales/
│   ├── en.lua            # English translations
│   └── tr.lua            # Turkish translations
├── server/
│   └── main.lua          # Server logic, events, exports
├── shared/
│   ├── alerts.lua        # Alert type definitions
│   ├── config.lua        # Main configuration
│   └── locale.lua        # Locale system handler
└── fxmanifest.lua
```

***

#### 🔗 Quick Links

* Installation
* Configuration
* Alert Types
* Exports & API
* Localization
* Commands
* FAQ & Troubleshooting
