Premium Scripts
8 packages available
7 packages
rps_crafting
RPS Crafting is a powerful and highly configurable crafting system designed for modern FiveM servers. Built with performance, flexibility, and compatibility in mind, it provides immersive crafting experiences while remaining lightweight and easy to configure. Whether you’re running a serious roleplay server or a custom game mode, RPS Crafting offers everything needed to create unique crafting stations, recipes, and progression systems. Features
- Modern and responsive UI
- Multiple crafting locations
- Unlimited categories and recipes
- Item requirements and rewards
- Configurable crafting durations
- Job restrictions
- Gang restrictions
- Multiple framework support
- Inventory bridge support
- Target system support
- Notification system support
- Progress bar integration
- Optimized and lightweight
- Easy to expand and customize
Framework Support Supported Frameworks
- Qbox
- QBCore
- ESX Legacy
Supported Inventories
- ox_inventory
- qb-inventory
- Custom bridges
Supported Target Systems
- ox_target
- qb-target
Fully Configurable Configure:
- Recipes
- Categories
- Locations
- Crafting times
- Job permissions
- Gang permissions
- Progress bars
- Notifications
- Inventory systems
- Target systems
Built for Performance RPS Crafting has been developed using modern practices to ensure:
- Low resource usage
- Smooth gameplay
- Stable performance
- Easy maintenance
- Maximum compatibility
Screenshots (Add your screenshots here) Preview Video (Add YouTube video here) Documentation https://doc.realplayscripts.co.za Purchase Tebex Store https://store.realplayscripts.co.za Support Support is provided through:
- Discord
- Documentation
- Community channels
RealPlay Scripts Premium FiveM Resources built for serious communities. change to html
RPS Bossmenu
🏢 RPS BossMenu¶
The Ultimate Business & Company Management System for QBCore¶
Take complete control of your businesses with RPS BossMenu, a feature-rich management system designed for serious roleplay servers. Built with performance, usability, and immersion in mind, RPS BossMenu transforms the standard boss menu into a modern business operating system complete with financial management, employee permissions, business-to-business trading, physical deliveries, and an advanced tablet-style interface.
Whether you're running a mechanic shop, police department, restaurant, dealership, or custom business, RPS BossMenu provides everything you need to manage your organization professionally.
✨ Features¶
💼 Complete Business Management¶
Manage every aspect of your business from one powerful interface.
- Create and manage businesses
- Employee management
- Hire and fire employees
- Promotion & demotion support
- Configurable boss permissions
- Business ownership support
- Society account integration
👥 Advanced Employee Permissions¶
Assign custom permissions to individual employees.
Grant or revoke access to:
- 💰 Deposits
- 💸 Withdrawals
- 🛒 Business Store
- 👑 Master Management
- Employee Administration
No more giving every boss unlimited access.
💳 Financial Ledger¶
Keep track of every dollar entering and leaving your business.
Automatically logs:
- Deposits
- Withdrawals
- Purchases
- Orders
- Business transactions
- Employee actions
Perfect for realistic bookkeeping and roleplay.
🛒 Jungle Marketplace¶
An advanced Business-to-Business marketplace allowing companies to purchase inventory from suppliers.
Businesses can:
- Browse supplier stores
- Purchase stock
- Track active orders
- View product categories
- Manage business supply chains
Create a realistic economy between player-owned businesses.
🚚 Physical Delivery System¶
Orders aren't magically delivered.
Businesses must physically deliver products using delivery vehicles.
Features include:
- Delivery truck spawning
- Loading delivery boxes
- Physical transportation
- Delivery destinations
- Order completion
- AI delivery support for automated suppliers
This creates immersive logistics gameplay instead of instant item transfers.
🖥️ Modern Tablet Interface¶
RPS BossMenu features a premium desktop-inspired UI.
Includes:
- Draggable windows
- Smooth animations
- Multiple applications
- Taskbar
- Responsive design
- Modern styling
- Fast loading
Designed to feel like a real business operating system.
📊 Business Dashboard¶
Quickly view:
- Business balance
- Employees
- Pending orders
- Transaction history
- Active deliveries
- Business statistics
Everything in one place.
🔐 Permission Based Security¶
Protect your businesses with configurable permission levels.
Employees only see features they are allowed to access.
Ideal for large roleplay communities.
⚙️ Developer Friendly¶
Includes a complete export API allowing other resources to integrate directly.
Developers can:
- Create businesses
- Manage employees
- Create supplier stores
- Place marketplace orders
- Modify permissions
- Register delivery locations
- Access business data
Perfect for custom scripts and server frameworks.
🚀 Why Choose RPS BossMenu?¶
✔ Premium Modern Interface
✔ Business-to-Business Marketplace
✔ Physical Delivery Mechanics
✔ Employee Permission System
✔ Financial Ledger
✔ Society Banking Integration
✔ Highly Optimized
✔ Easy Configuration
✔ Developer API Included
✔ Immersive Roleplay Experience
🎯 Perfect For¶
- Mechanic Shops
- Dealerships
- Restaurants
- Police Departments
- EMS
- Mining Companies
- Construction Companies
- Logistics Businesses
- Government Organizations
- Any Player-Owned Business
🔧 Framework Support¶
- ✅ QBCore
- ✅ Optimized Client & Server Performance
- ✅ Easy Installation
- ✅ Configurable
💡 Designed For Serious Roleplay¶
RPS BossMenu isn't just another boss menu.
It's a complete business management ecosystem that encourages realistic company operations, employee management, financial accountability, logistics, and business interaction across your entire server.
Whether your players own a single shop or operate a large corporation, RPS BossMenu provides the tools needed to create immersive and engaging business roleplay.
Run your business like a real business.
rps_parkin
# 🅿️ rps_parking – Advanced Persistent Parking
**Real parking lots for your server.** Drive into a marked bay, press **E**, and your car stays exactly where you left it – through relogs, crashes and server restarts – with all its mods, colours, damage and fuel. Come back, pay at the parking machine, and drive away.
No more cars vanishing into a garage menu. Parking lots actually fill up, police can ticket and impound, and staff get a full logistics panel with revenue and history.
📺 **Preview:** *[video link]*
📥 **Download:** *[link]*
📚 **Docs / support:** *[link]*
---
## ✨ Highlights
-
🚗 **Real-world persistent parking** – cars are spawned by the server and stay in the world across restarts
-
🧾 **Parking machine at every lot** – target it to see *your* cars parked there, pay and unlock
-
🎯 **Red arrow** above your car after unlocking, so you find it straight away
-
🛠️ **In-game lot editor** – draw zones with a laser, place bays with a ghost car. No coordinates, no config editing
-
👮 **Police tools** – target any parked car to write a parking ticket or impound it
-
📊 **Admin logistics panel** – revenue, occupancy, outstanding fees, plate history, impound management
-
🔌 **Multi-framework** – ESX, QBCore, QBox and standalone through `rps_lib`
---
## 🚗 Parking
-
Park only in **marked bays** inside a parking lot – one car per bay
-
**Green / red bay markers** while driving near a lot show free and taken bays at a glance
-
A **"[E] Park vehicle"** hint appears when you drive into a lot – the key does nothing outside a lot, so it never gets in the way
-
Cars are **snapped straight** into the bay (forward *or* reverse parking)
-
Parked cars are **locked and frozen** – no pushing, towing or stealing
-
Saves **all vehicle properties**: mods, colours, extras, damage, fuel
-
**Auto-respawn watchdog** – if a parked car gets deleted (car-wipe, crash, another script), it's put back in its bay
-
**Ownership check** against your framework's vehicle table (can be turned off)
-
**Per-player limit** on parked cars and **anti-duplication** checks
-
Optional floating **"PARKED | PLATE"** text over parked cars
-
/parked– list all your parked cars with the amount due and **set a waypoint** to any of them
## 🧾 Parking machine & fees
-
A **parking machine prop** at every lot – interact with your target script (ox_target / qb-target / tgiann-target), or `[E]` if you don't use one
-
Shows only **your cars at that lot**: model, plate, bay number, time parked and total due (incl. fines)
-
**Paid lots** with a price per hour and a **max fee cap**, or **free lots**
-
Pays from **bank first, then cash**
-
After paying, the car unlocks, you get your **keys** (qb-vehiclekeys, wasabi_carlock or your own hook) and a **red arrow** marks the car until you get in
## 👮 Police
- Players with a police job (configurable, e.g.
police,sheriff) get **target options on every parked car**:
- **Write parking ticket** – amount + reason, added to what the owner pays at the machine
- **Impound vehicle** – reason + progress bar, car goes to the impound lot
- The owner gets a **notification** when their car is ticketed or impounded
- The server checks the job, the amount and the distance on every action
- Standalone servers can use an ACE permission instead of a job
## 🚓 Impound
- Impound lot with a **release fee** (+ any unpaid parking fees and fines)
- Walk up to the impound point and pick your car from a menu
- **Abandoned cars are auto-impounded** after a configurable number of days
## 🛠️ In-game lot editor (admins)
Build parking lots **in-game** – no copying coordinates into a config.
-
**Draw the zone with a laser** – click 2 corners for a box, or 3+ for any shape. The zone shows as see-through walls
-
**Place the parking machine** as a ghost prop – rotate with the scroll wheel, click to place
-
**Place bays with a ghost car** – green when the spot is OK, red when it's too close to another bay or outside the zone
- Rotate with scroll (hold Shift for fine steps), `Q` for 90°
- Aim at a bay and press `DEL` to remove it, `X` to undo
- **Fill a whole row**: place the first and last bay, press `R`, enter how many bays – done
- Set the name, price per hour, max fee and map blip
-
**Changes go live for everyone instantly** – blips, machines, target zones and bay markers update without a restart
-
**Safe editing** – parked cars keep their bay, a bay with a car in it can't be removed, and a lot with parked cars can't be deleted
- All lots are stored in the database (`ParkingLots` table)
## 📊 Admin logistics panel – `/parkadmin`
-
**Dashboard** – revenue today / last 7 days / total, occupancy across all lots, parked and impounded counts, outstanding unpaid fees, today's activity
-
**Lots** – fill bar per lot (green / yellow / red), 7-day revenue and number of stays. Open a lot to see **every bay**: free, or who's parked, for how long and what they owe
-
**Plate search** – owner, location, time parked, amount due and **full history**
-
**Staff actions** – teleport to the car, force unpark (fees waived), impound with reason, waive fines, delete impound record
-
**Impound list** – every impounded car with owner, reason and fines
-
**Recent activity** – last 40 log entries, filterable by action
## 📜 Logs
-
Every park, unpark, ticket, impound, release, auto-impound and staff action is **logged to the database** – who did it, where, and how much money was involved
-
Optional **Discord webhook** with per-action toggles
- Automatic clean-up of old logs (configurable retention)
---
## 🔌 Compatibility
| | Supported |
|---|---|
| **Frameworks** | ESX, QBCore, QBox, Standalone (auto-detected by `rps_lib`) |
| **Target** | ox_target, qb-target, tgiann-target (or `[E]` prompt at the machine without one) |
| **Notifications** | ox_lib, codem, framework default (via `rps_lib`) |
| **Vehicle keys** | qb-vehiclekeys, wasabi_carlock – or add your own in `Config.GiveKeys` |
## 📦 Requirements
- OneSync
- [ox_lib](https://github.com/overextended/ox_lib)
- [oxmysql](https://github.com/overextended/oxmysql)
- `rps_lib`
## ⚙️ Installation
1. Put `rps_parking` in your resources folder
2. Add to `server.cfg` after ox_lib, oxmysql, your framework and rps_lib:
```
ensure rps_lib
ensure rps_parking
```
3. Start the server – the database tables are created automatically, with two example lots
4. Give your admins access: `add_ace group.admin rps_parking.admin allow`
- Open
/parkadmin→ **Lot editor** and build your lots
## 🎮 Commands & controls
| | |
|---|---|
| `E` / `/park` | Park in a free bay (inside a parking lot) |
| Parking machine (target) | Your cars at this lot – pay & unlock |
| `/parked` | Your parked cars + waypoints |
| Target a parked car (police) | Write parking ticket / Impound vehicle |
| `/parkadmin` | Admin panel + lot editor |
| `/parkspot` | Dev tool – prints your position as a `vec4` |
## 🧩 Exports (server)
```lua
exports.rps_parking:IsVehicleParked(plate) -- true / false
exports.rps_parking:GetParkedVehicle(plate) -- { plate, owner, lot, spot, coords, entity } or nil
exports.rps_parking:IsSpotTaken(lotName, spotIndex) -- true / false
```
Use `IsVehicleParked` in your garage script to stop a parked car being spawned twice, and in car-wipe scripts to skip parked cars (or check `Entity(vehicle).state.parked`).
## 🔧 Config highlights
- Park key, park time, max parked cars per player, ownership check on/off
- Bay size tolerance, max parking angle, snap to bay, marker colours and distance
- Parking machine model, label, icon and interaction distance
- Police jobs and max ticket amount
- Impound fee and location, days before abandoned cars are impounded
- Respawn interval for deleted parked cars
- Admin permission, framework admin groups, ghost car model for the editor
- Log retention, Discord webhook and which actions it sends
---
**Version:** 1.0.3
*Feedback and bug reports welcome – [support link]*
rps_BodyArmor
# [RELEASE] rps_BodyArmor – Plate Carriers with Swappable Plates | ESX / QBCore / Qbox | ox / tgiann / qb / ps / lj

Realistic body armor for roleplay servers. The **vest is the carrier**, the **plates inside it give the protection**. Open your vest, slide plates in, and watch them crack under fire – a broken plate has to be pulled out and replaced. Rifle rounds chew through cheap plates; Level IV ceramic stops them.
---
## 🎬 Preview
<!-- VIDEO LINK (YouTube / Streamable) -->
| Vest stash | Plates | Plate breaking |
|---|---|---|
|  |  |  |
---
## ✨ Features
**Vests & plates**
-
🦺 **Vest = carrier, plates = protection** – 3 vests included (Plate Carrier, Heavy, Police / job-locked)
-
🎒 **2-slot plate stash per vest** – right-click the vest → **Open vest** opens a second inventory next to yours (ox_inventory / tgiann-inventory). Only plates fit.
-
🔁 **Plates travel with the vest** – trade it, stash it, drop it; its plates go with it
-
🧥 **Vest stays in your inventory** – use it to put it on, use it again to take it off (progress bar + animation)
- 🔒 The worn vest can't be dropped, given or stashed – take it off first
**Durability**
-
📉 **Every plate has its own durability**, saved on the item (shows as a durability bar + `Protection: 40/75`)
-
💥 A plate at 0 becomes a **Broken Plate** in the same slot – no protection, swap it for a new one
- 🔄 Change plates while wearing the vest – armour updates instantly
- 📝 Vest description shows its plates: `Plates: Ceramic Plate (Level IV) 80%, Broken plate`
**Damage model**
-
🎯 **Hit-location protection** – plates only cover the torso; limb and head shots go straight to health (head ×1.5)
-
🔫 **Weapon classes** – class 1 pistols, class 2 SMGs / shotguns, class 3 rifles / MGs / snipers / heavy
-
🛡️ **Per-plate, per-class stats** – how fast a plate wears and how much damage *pierces* to health
| Plate | Class 1 | Class 2 | Class 3 |
|---|---|---|---|
| Level III Ballistic | wear 0.8 | wear 1.0 | wear 1.6, **30 % pierces** |
| Level IV Ceramic | wear 0.6 | wear 0.6 | **wear 0.5, 0 % pierces** |
- ➕ Two plates stack: 2 × Level IV = **150 armour**; front plate takes hits first, overflow goes to the back plate
- 🐢 Optional movement penalty / sprint block per vest
**Server side**
- 🔐 Server-authoritative: durability can only go down, equip/remove timers are checked, no client-side armour hacks (`SetPedArmour` is enforced)
- 💾 Worn vest survives reconnects and restarts
- 🧩 Exports for other scripts
---
## 🧰 Framework & inventory support
Built on **rps_lib**, so one script runs everywhere:
| Inventory | Frameworks | Open vest |
|---|---|---|
| **ox_inventory** | ESX, QBCore, Qbox | 2-slot stash · right-click button + `/vest` |
| **tgiann-inventory** | ESX, QBCore, Qbox | 2-slot stash · right-click button + `/vest` |
| **qb-inventory** | QBCore | 2-slot menu · `/vest` |
| **ps-inventory** | QBCore | 2-slot menu · `/vest` |
| **lj-inventory** | QBCore | 2-slot menu · `/vest` |
Install guides with copy-paste item definitions for every inventory are included (`install/ox.md`, `install/tgiann.md`, `install/qb.md`, `install/ps.md`, `install/lj.md`) plus item images.
---
## ⌨️ Commands
| Command | Description |
|---|---|
| `/vest` | Open your vest to change plates |
| `/removearmor` | Take off your vest |
| `/armor` | Vest armour + each plate's condition |
---
## ⚙️ Config preview
```lua
Config.PlateSlots = 2
Config.BrokenPlate = 'broken_plate'
Config.Vests = {
armor_vest_police = {
label = 'Police Plate Carrier', speed = 1.0,
jobs = { 'police', 'sheriff' },
vest = { male = { drawable = 13, texture = 0 }, female = { drawable = 9, texture = 0 } },
},
}
Config.Plates = {
armor_plate_heavy = {
label = 'Ceramic Plate (Level IV)', armour = 75,
wear = { [1] = 0.6, [2] = 0.6, [3] = 0.5 },
pierce = { [1] = 0.0, [2] = 0.0, [3] = 0.0 },
},
}
Config.WeaponOverrides = {
[`WEAPON_PISTOL50`] = 2, -- Desert Eagle counts as class 2
}
```
Everything is configurable: vests, plates, weapon classes, clothing per gender, timings, texts.
---
## 🔌 Exports
```lua
-- client
exports.rps_BodyArmor:IsWearingArmor()
exports.rps_BodyArmor:GetArmor() -- { item, label, armour, max, plates }
-- server
exports.rps_BodyArmor:GetArmor(src) -- { item, vestId, plates }
exports.rps_BodyArmor:ClearArmor(src)
```
---
## 📦 Requirements
- [ox_lib](https://github.com/overextended/ox_lib)
- rps_lib <!-- LINK -->
- One of: ox_inventory, tgiann-inventory, qb-inventory, ps-inventory, lj-inventory
---
## 📥 Download
<!-- DOWNLOAD LINK (GitHub / Tebex / Keymaster) -->
---
| | |
|---|---|
| Code is accessible | <!-- Yes / No (escrow) --> |
| Subscription-based | No |
| Lines (approximately) | ~1,150 |
| Requirements | ox_lib, rps_lib, supported inventory |
| Support | <!-- Yes / No – Discord link --> |
rps_shops
# 🛒 RPS Shops v1.1.0 — Every Store in One Script
**24/7 Supermarket • LTD Gasoline • YouTool • Digital Den** now ship together in one resource, `rps_shops`. Each store keeps its own look, and you only install and configure one script.
## ✨ Features
**🏪 4 store chains, 18 locations ready to go**
• 24/7 Supermarket: 9 vanilla counters
• LTD Gasoline: 5 vanilla counters
• YouTool: Senora Fwy, Davis and Paleto Bay
• Digital Den: an electronics store, ready for your MLO
• Turn a whole chain or a single location on or off in one line
**🎨 A themed UI for each chain**
• Every brand has its own design: 24/7 green, LTD red and yellow, YouTool hazard orange, Digital Den purple
• Live receipt-style cart, category sidebar, search, sale badges and stock counters
• LTD fuel price board and YouTool tool rental board (just for show)
• Item images detected automatically for your inventory
**🔒 Server-side security**
• Every price, stock count and cart is checked on the server
• Distance checks, per-item limits and caps on cart size
• If an item can't be added, the purchase rolls back and the player gets a refund
**📦 Stock system**
• Stock is kept per location, with restocks on a timer you can set for each brand
• Stock updates live for everyone who has the shop open
• Unlimited-stock items and per-location price multipliers
**⚙️ Easy to configure**
• One shared config, plus one file per brand
• Limit any location to certain products or categories
• Sale prices, receipts with purchase details, blips, peds and target zones
• Every message can be changed (full locale per brand)
**🔌 Works with your stack (via rps_lib)**
• ESX / QBCore / QBox / standalone
• ox_inventory, tgiann, qb, ps, lj inventories
• ox_target, qb-target, tgiann-target
• Pay with cash as an item or as a framework account (cash or bank)
**🛠️ Admin commands**
• `/restockshops [brand]` restocks everything or one chain
• The old per-brand commands still work (`/restock247`, `/restockltd`, `/restockyoutool`, `/digitaldenrestock`)
## 📥 Upgrading from the separate scripts
1. Delete `rps_247Supermarget`, `rps_LtdGasline`, `rps_YouTool` and `rps_DigitalDen`
2. Drop in `rps_shops` and add any missing items. There's an install guide for each inventory in `install/items/` (ox, qb, ps, lj, tgiann)
3. `ensure rps_shops` (after `ox_lib` and `rps_lib`)
**Requires:** `ox_lib`, `rps_lib`
## 📋 Full Feature List
- 4 store chains in one resource: 24/7 Supermarket, LTD Gasoline, YouTool, Digital Den
- 18 locations set up out of the box (vanilla GTA V counters)
- Each chain has its own themed UI (colours, logo, layout, receipt)
- Category sidebar with item counts
- Live search by name, description or item
- Receipt-style cart with +/− quantity, remove and clear
- Running totals, including how much the player saved on sale items
- Sale prices with original price crossed out and a "deal" badge
- Stock badges: in stock, low stock, sold out
- Live stock updates for everyone with the shop open
- Stock kept separately per location
- Automatic restock on a timer, set per brand (% of max stock each cycle)
- Unlimited-stock option per product
- Per-product purchase limit
- Max different items and max total units per purchase
- Price multiplier per location (e.g. pricier out in the sticks)
- Limit a location to certain products or categories
- Server-side checks on prices, stock, cart and distance
- Rollback and refund if the player can't receive an item
- Inventory space check before charging
- Receipt item with shop, date, every item bought, savings and total (per brand, optional)
- Usable receipts: open a printed-receipt viewer in the store's colours and logo, and flip between your receipts
- Cashier peds with scenarios, target zones, or both
- Configurable blips per brand and per location
- Purchase hand-over animation
- Item images resolved automatically for your inventory, or set your own
- Pay with cash as an item, or with a framework account (cash or bank)
- ESX / QBCore / QBox / standalone via rps_lib
- ox_inventory, tgiann, qb, ps and lj inventory support via rps_lib
- ox_target, qb-target and tgiann-target support via rps_lib
- Notifications through rps_lib
- Every message editable, per brand
- Turn whole chains or single locations on or off
- Easy to add new chains (brand config + theme folder)
- `/restockshops [brand]` plus the old per-brand restock commands
- ACE permissions for admin commands
- Item install guides for ox, qb, ps, lj and tgiann inventories
- Browser preview of each UI for easy editing
🔗 **Download:** \
💬 **Support:** \
Crime1
View all1 package
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.TruckCooldownminutes (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]*







