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

# Security Truck Heists

Security Truck Heist adds armoured trucks onto your map that drive around under guard and **fight back when attacked**. Criminals have to intercept a moving target, deal with the crew (and an optional escort vehicle), drill the doors, and loot the cash trolley; while police receive live dispatch alerts and a blip that follows the truck as it tries to escape to the nearest designated safe location.

Armoured trucks patrol your map under guard. To rob one, criminals have to find it, stop it, survive the guards (and an optional escort vehicle), drill the doors, and loot the cash trolley; all while police get live alerts and a blip that **follows the truck as it tries to escape to the nearest station**.

The truck reacts only to *real players* (not NPC traffic), and when attacked it actively tries to evade to a police station at high speed. Guards bail out and fight or flee (based on config). When the guards are forced to abandon their vehicle they will engage the attacking players with configurable weapons and also an escort vehicle (also configurable) with armed guards to offer a range of difficulty for all servers needs.

**What makes it different.**

* **The guards fight back and try to escape to a predesignated safe area.** Evasion AI drives the truck to the nearest police station; the escort switches to pursuit-driving to keep up.
* **Player-attributed damage only.** NPCs and traffic can't accidentally trigger a heist; only a real player attacking the truck does.
* **Dispatch support.** Built-in standalone alert system (native blips + ox\_lib notifications) so you don't *need* ps-dispatch,but it supports ps-dispatch if you run it. (others may be added in future as requested)
* **Armed Escort Vehicle** Adjust the diffculty with bulletproof escorts with SMG's or Rifles, take your pick in the config.

Runs on **QBCore, QBOX and ESX**, with selectable target, inventory, reward, and dispatch options.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://aza3d.gitbook.io/aza3d-docs/scripts/security-truck-heists.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
