Store logo

Crime

1 package available

All Premium ScriptsCrime

1 package

rps_banktruck
Crime
$15.00

rps_banktruck

# ๐Ÿšš rps_banktruck โ€“ Gruppe6 Bank Truck Robbery

**Hit a moving money transport.** Every hour a Gruppe6 armoured truck rolls out somewhere on the map and drives around. Box it in, stop it, and get into the back โ€“ with a **black security card** or a **thermite charge**. Then deal with the armed guards who jump out, grab the cash and search the bodies for the security cards your bank heists need.

Fully server-checked, multi-framework through `rps_lib`, and it works with your existing inventory, target and dispatch out of the box.

๐Ÿ“บ **Preview:** *[video link]*

๐Ÿ“ฅ **Download:** *[link]*

๐Ÿ“š **Docs / support:** *[link]*

---

## โœจ Highlights

  • ๐Ÿšš **Patrol truck** โ€“ a Gruppe6 truck with a driver spawns at a random spot on the map on a timer and drives around

  • ๐Ÿƒ **Driver avoids players** โ€“ swerves away when you get close, floors it when you shoot

  • ๐Ÿ’ณ **Two ways in** โ€“ black security card (progress bar) or thermite (plant the charge + minigame, the doors burn off)

  • ๐Ÿ”ซ **Armed guards** climb out of the back once the doors open and attack

  • ๐Ÿ” **Searchable guards** โ€“ each guard carries one half of a security-card pair

  • ๐Ÿšจ **Dispatch alert** with street name through whatever dispatch you run

  • ๐Ÿ›ก๏ธ **Server-authoritative** โ€“ truck, distance, cops, items, cooldowns and loot are all checked on the server

  • ๐Ÿ”Œ **Multi-framework** โ€“ ESX, QBCore, QBox and standalone through `rps_lib`

---

## ๐Ÿšš Patrol truck

  • Every Config.TruckCooldown minutes (default **60**) a truck spawns on a **main road at a random spot on the map** โ€“ Downtown, Vinewood, Rockford, Del Perro, Vespucci, La Mesa, Sandy, Paleto and more (add your own areas)

  • The driver **wanders the map** obeying traffic lights and steering around cars and peds

  • **Avoids players** โ€“ anyone who gets within a few metres (on foot or in a car) makes the driver swerve away; gunfire at or near the truck makes it **flee at full speed**

  • When the robbery starts the driver **jumps out and runs**

  • **Despawn timer** โ€“ unrobbed trucks leave after 30 minutes, robbed ones after 10 โ€“ but never while a player is close by

- Normal traffic stockades can still be robbed too

## ๐Ÿ’ณ Black security card

- Use `security_card_04` at the **rear doors**

- Progress bar with a mechanic animation โ€“ the doors swing open

- The card is only used up when the doors actually open

## ๐Ÿ”ฅ Thermite

- Use `thermite` at the rear doors

  • Synced **bag + charge plant animation** (the Pacific Standard one)

  • **Minigame** โ€“ glitch-minigames by default, the classic memorygame as fallback, or plug in your own in one config function

  • The **burn effect sits on the charge** and is synced to every nearby player

  • The robber covers their eyes while it burns, then the **doors fall off**

- Thermite is used up whether you win the minigame or not

## ๐Ÿ”ซ Guards

  • Two armed guards (configurable model, weapon, health, armour, accuracy) **climb out of the back** once the doors open

  • They go for the robber first and **fight anyone hostile around them** after that

- Professional AI โ€“ use cover, push forward, never flee

## ๐Ÿ’ฐ Loot

  • **Grab Items** target at the back of the truck โ€“ black money and cash rolls (fully configurable table, with chances and metadata support)

  • **Search Guard** target on every dead guard โ€“ usable by anyone in the crew

  • **Security-card pairs** โ€“ each truck rolls one pair:

ย  - Guard 1 โ†’ `security_card_01`, Guard 2 โ†’ `security_card_04`

ย  - Guard 1 โ†’ `security_card_02`, Guard 2 โ†’ `security_card_03`

- Each truck can be looted once and each guard searched once

## ๐Ÿšจ Dispatch

  • Police get an alert with **title, code, street name and a blip** the moment a robbery starts

- Optional search-area radius instead of the exact spot

  • Works with **tk_dispatch, ps-dispatch, qb-dispatch, y_dispatch (Qbox), origen_police** โ€“ or a built-in ESX alert if you don't run one

- `/banktruckdispatchtest` to check your setup without being police

## ๐Ÿ›ก๏ธ Security

The client never decides anything on its own:

- Truck model and distance checked server-side on every step

- Cop count, item ownership and per-plate cooldown checked before the robbery starts

- One robbery per truck at a time, with automatic recovery if a robber crashes

  • Loot can be grabbed **once**, by the robber, next to the truck

- Guard bodies: must be a real guard from that robbery, dead, within 3 m, searched once

- Items are only removed or given by the server

## ๐Ÿž Debug tools

  • Console line every 5 seconds with the patrol truck's **coordinates, state, speed and who is simulating it**

  • **Live map blip** on the patrol truck for admins

  • Red console warning at startup for any **configured item missing from your inventory**

- `/banktruckspawn` โ€“ spawn the patrol truck near you

---

## ๐Ÿ”Œ Compatibility

| | Supported |

|---|---|

| **Frameworks** | ESX, QBCore, QBox, Standalone (auto-detected by `rps_lib`) |

| **Inventory** | ox_inventory, tgiann-inventory, qb-inventory, ps-inventory, lj-inventory |

| **Target** | ox_target, qb-target, tgiann-target |

| **Dispatch** | tk_dispatch, ps-dispatch, qb-dispatch, y_dispatch, origen_police, ESX native |

| **Progress bar / notifications** | ox_lib, codem (via `rps_lib`) |

| **Minigame** | glitch-minigames, memorygame, or your own |

## ๐Ÿ“ฆ Requirements

- OneSync

- [ox_lib](https://github.com/overextended/ox_lib)

- `rps_lib`

- Optional: [glitch-minigames](https://github.com/Gl1tchStudios/glitch-minigames) for the thermite minigame

## โš™๏ธ Installation

1. Put `rps_banktruck` in your resources folder

2. Add the items โ€“ ready-made files are included:

ย  ย - ox_inventory โ†’ `install/ox_inventory.lua`

ย  ย - QBCore inventories โ†’ `install/qb_shared_items.lua`

3. Add to `server.cfg` after ox_lib and rps_lib:

ย  ย ```

ย  ย ensure rps_lib

ย  ย ensure rps_banktruck

ย  ย ```

4. Restart โ€“ the first patrol truck rolls out 5 minutes after the start

## ๐ŸŽฎ Commands & controls

| | |

|---|---|

| Use `security_card_04` / `thermite` | Start the robbery (at the rear doors) |

| **Grab Items** (target) | Loot the truck |

| **Search Guard** (target) | Search a dead guard |

| `/banktruckspawn` | Admin โ€“ spawn the patrol truck near you |

| `/banktruckdispatchtest` | Admin โ€“ test the dispatch alert |

## ๐Ÿ”ง Config highlights

- Spawn interval, despawn time, spawn areas, driver model, speeds and driving styles

- How close players can get before the driver avoids them, flee distance and duration

- Card and thermite item names, minimum cops, police jobs

- Unlock, loot and search times, thermite burn time and effect offset

- Thermite minigame function

- Guard model, weapon, health, armour, accuracy, seats

- Truck loot table and guard card pairs with weights

- Dispatch title, code, priority, blip and radius

- Every text the player sees

---

**Version:** 2.0.0

*Based on the original truck robbery by Lionh34rt โ€“ rewritten for rps_lib.*

*Feedback and bug reports welcome โ€“ [support link]*