# AI Police Backup

<figure><img src="/files/c6LscWcn3jhQd8pWU5Tm" alt=""><figcaption></figcaption></figure>

***

Works great with ESX and QBCore and any QBCore based frameworks.

### Overview

Transform your server’s law enforcement gameplay with this powerful script designed for **ESX**, **QBCore**, and other QBCore-based frameworks. Equip your police force with strategic air support and intelligent backup units, creating a more immersive and tactical experience.

### Key Features

**Intelligent Backup System**

* **Call for Backup**: Officers can request reinforcements tailored to their rank, ensuring appropriate support for each situation.
* **Customizable Backup Types**: Server admins have full control to configure:
  * Vehicle models
  * NPC models (SWAT, FIB, Military, Female officers, etc.)
  * Weapon loadouts
  * Gender, outfits, and physical features like hair and beards
* **Smart Behavior**:
  * Backup units park strategically and follow officers in formation.
  * NPCs defend officers, avoid friendly fire, and maintain realistic formation behavior.
  * Multiple backup units from different players work together seamlessly.

**Escalate the Response**

* Officers can escalate the backup request as needed.
* High-ranking officers gain access to more powerful reinforcements.
* Reinforcements can be dismissed or canceled with ease.

**Tactical Air Support**

* **Helicopter Options**: Configurable scout and attack helicopters.
* **Advanced Aerial Features**:
  * Night and Thermal Vision
  * Real-time vehicle and plate recognition
  * Strategic tracking and attack options for fleeing suspects

**Fully Configurable System**

Admins can fine-tune every aspect:

* Backup types and rank permissions
* Helicopter models, AI permissions, and spawning logic
* NPC behaviors, driving styles, and combat tactics
* Precision shooting accuracy, spawning distances, and ragdoll options
* Vehicle liveries, AI health, loadouts, and outfit styles

**Advanced AI Pursuit & Driving Logic**

* Backup NPCs can now:
  * Enter the player’s car or follow in their own
  * Drive players around if in passenger seat
  * Conduct independent or coordinated chases
  * Share suspect location in real time
  * Choose between aggressive, strategic, or cautious pursuit styles

**Precision Combat & Formation Control**

* Fine-tuned accuracy per unit type
* Custom combat styles (defensive, offensive)
* In-game commands to adjust formations, guard positions, and hold locations

**Enhanced Interaction & Realism**

* Streamlined UI for easier backup management
* Randomized NPC clothing and gear for realism
* Gender-diverse NPC units with unique styles and animations

**Full AI Police Integration**

* AI dispatch responds when player police presence is low or absent
* NPCs handle crime scenes autonomously — issue fines, arrest, and transport
* Configurable AI behavior including escalation, lethality, and law enforcement style
* Compatible with any jail or fine system

**Dynamic Crime Response System**

* All GTA-style crimes now trigger AI reactions:
  * Gunshots, reckless driving, theft, etc.
* System assigns:
  * Wanted level (up to 10 stars)
  * Jail time
  * Fines
* UI displays real-time wanted status: arrest or "dead or alive"
* Player surrender system with hands-up mechanic

**Vehicle & Pursuit Intelligence**

* AI units select the best vehicle for the job:
  * Cars, bikes, boats, or helicopters depending on suspect type
* Realistic and effective pursuit experiences

**Custom Script Integration**

* Easily integrate with custom missions and RP systems
* Exports available to trigger AI behavior based on scripted events
* Fully compatible with ESX, QBCore, and Ox\_Lib menus

**Multi-Language Support**

* Available in English, Spanish, French, Arabic, and Chinese
* Admins can add or edit translations to fit their community needs

**Performance & Optimization**

* Significant performance optimizations and logic reworks
* Smoother gameplay and efficient AI management
* Enhanced ESX integration
* Customizable ragdoll and headshot mechanics for NPCs

***

## Preview

{% embed url="<https://youtu.be/q6U4VLVPQg8?si=vbN5CrMQCOqR3WBF>" %}

{% embed url="<https://www.youtube.com/watch?v=tmjFaYO-axI>" %}

{% embed url="<https://streamable.com/jdflzb>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://enyo-scripts.gitbook.io/documentations/fivem-scripts/ai-police-backup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
