> For the complete documentation index, see [llms.txt](https://docs.rainmad.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rainmad.com/resources/heists-2.0-update.md).

# Heists 2.0 Update

Every RAINMAD heist is now on version **2.0.0**. Each one is rewritten from scratch on a shared bridge, and each one is still the same heist: same stages, animations, cameras and minigames.

{% hint style="info" %}
The resource names and item names did not change. Replace the old folder with the new one, move your settings over, and you are done. Steps: [Upgrading from 1.x](https://docs.rainmad.com/resources/heists-2.0-update/upgrading.md).
{% endhint %}

## What is new

* **One resource for Qbox, QBCore and ESX.** There is no separate \[ESX] or \[QB] copy anymore. If you bought one of those, the new asset is in your granted assets on the Cfx portal.
* **Automatic reset.** A heist resets itself after a robbery, and again when nobody touches a started heist for a while. You set both times. The police reset command is still there.
* **A clean reset.** A reset removes every prop, ped, vehicle, blip and door the heist made, so the next crew starts from a clean place.
* **One file for the economy.** Money, items, drop chances, prices, required police and cooldowns are all in `economy.lua`, with one multiplier for money and one for items.
* **The server pays.** Every reward is worked out and paid by the server. The old scripts trusted the amount the player's game sent.
* **Pick your scripts in cfg.lua.** Framework, target (ox\_target, qb-target), notifications, text UI, dispatch (18 scripts), minigames and vehicle keys.
* **Exports.** A tablet, laptop, phone app or NPC can list, start and reset any heist. See [Exports](https://docs.rainmad.com/resources/heists-2.0-update/exports.md).
* **Fixes** for the bugs we found while playing every heist through in game.

## Requirements

* [ox\_lib](https://github.com/overextended/ox_lib)
* Qbox, QBCore or ESX
* For the heists that use a target: ox\_target or qb-target

## The 25 heists

| Heist                 | Resource              | Police reset command |
| --------------------- | --------------------- | -------------------- |
| Art Heist             | `rm_artheist`         | `/pdart`             |
| Artifact Heist        | `rm_artifactheist`    | `/pdartifact`        |
| Betta Heist           | `rm_bettaheist`       | `/pdbetta`           |
| Casino Heist          | `rm_casinoheist`      | `/pdcasino`          |
| Deluxe Car Heist      | `rm_carheist`         | `/pdcarheist`        |
| Drug Boat Heist       | `rm_drugboatheist`    | `/pddrugboat`        |
| Fleeca Heist          | `rm_fleecaheist`      | `/pdfleeca`          |
| Fleeca Heist Final    | `rm_fleecafinal`      | `/pdfleeca`          |
| Graffiti War          | `rm_graffitiwar`      | `/pdgraffiti`        |
| Humane Labs Heist     | `rm_humanelabsheist`  | `/pdhumanelabs`      |
| Jailbreak             | `rm_jailbreak`        | `/pdjailbreak`       |
| Kidnapping            | `rm_kidnapping`       | `/pdkidnapping`      |
| Oil Rig Heist         | `rm_oilrigheist`      | `/pdoilrig`          |
| Pacific Heist         | `rm_pacificheist`     | `/pdpacific`         |
| Paleto Heist          | `rm_paletoheist`      | `/pdpaleto`          |
| Shop Robbery          | `rm_shoprobbery`      | `/pdshoprobbery`     |
| Train Heist           | `rm_trainheist`       | `/pdtrain`           |
| Underground Heist     | `rm_undergroundheist` | `/pdunderground`     |
| Union Heist           | `rm_unionheist`       | `/pdunion`           |
| Van Heist             | `rm_vanheist`         | `/pdvan`             |
| Vangelico Heist       | `rm_vangelicoheist`   | `/pdvangelico`       |
| Vangelico Heist Final | `rm_vangelicofinal`   | `/pdvangelicofinal`  |
| Vault Heist           | `rm_vaultheist`       | `/pdvaultreset`      |
| Weed Shop Heist       | `rm_weedshopheist`    | `/pdweedshop`        |
| Yacht Heist           | `rm_yachtheist`       | `/pdyacht`           |

{% hint style="warning" %}
Both Fleeca heists use `/pdfleeca`. If you run both, change `cfg.reset.command` in one of them.
{% endhint %}
