# AI Guards

<figure><img src="/files/98UxvRMWaIKUUKpy7bdo" alt=""><figcaption></figcaption></figure>

***

Enhance your FiveM server with the Dynamic AI Security & Backup script. Compatible with ESX, QBCore, and all QBCore-based frameworks, this script offers robust features to improve security and immersion for players and administrators alike.

***

### Features

#### **1. Dynamic Security System**

* **Personalized Security Teams**: Choose from discreet bodyguards to heavily armed mercenaries.
* **Fully Configurable**:
  * Select unique vehicles for efficient transportation.
  * Define security roles: Bodyguards, Security Guards, Mercenaries, etc.
  * Customize weapon loadouts to meet specific needs.

***

#### **2. Intelligent Security Agents**

* **Seamless Operations**:
  * Agents arrive discreetly, park strategically, and form protective formations.
* **Threat Response**:
  * Agents detect and neutralize threats efficiently.
* **Friendly Fire Prevention**:
  * Prevent accidental shootings with advanced ally recognition.
* **Team Coordination**:
  * Multiple agents work in unison to provide unmatched protection.

***

#### **3. Backup and Reinforcements**

* **Flexible Deployment**:
  * Call for reinforcements or dismiss your team dynamically based on the situation.

***

#### **4. Advanced Customization**

* **Behavioral Adjustments**:
  * Configure headshot vulnerability, ragdoll behavior, and more.
* **Driving Styles**:
  * Customize driving speeds and spawn distances.
* **Realistic Attire**:
  * Choose from various outfit options to match your scenario.
* **Player-Like AI**:
  * Agents mirror player decision-making for a more immersive experience.

***

#### **5. Transportation**

* **Passenger Mode**:
  * Sit back while agents handle the driving.
* **Adjustable Driving Speeds**:
  * Set speeds to balance realism and efficiency.

***

#### **6. Enhanced Interaction System**

* **Command Options**:
  * Direct agents with formation commands, assign guard positions, or dismiss them using a user-friendly menu.

***

#### **7. Ally Recognition & Management**

* **Ally System**:
  * Assign allies to eliminate friendly fire risks.
* **Dynamic Ally Management**:
  * Add or remove allies in real-time for maximum flexibility.

***

### Preview

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


---

# 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-guards.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.
