For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

1

Install the dependencies

Make sure everything on the Dependencies page is installed and starting before this resource.

2

Add the resource

Download the package from Portal, unzip it, and put the rm_banktruckrobbery folder in your server's resources directory. Do not rename the folder.

3

Add the items

The [items] folder inside the resource contains ready-made definitions for the three placeable devices (bt_c4, bt_hackdevice, bt_gastank) and the drill (WEAPON_DRILL):

  • ox_inventory: merge items - ox_inventory.lua into ox_inventory/data/items.lua and weapons - ox_inventory.lua into ox_inventory/data/weapons.lua, then copy the images from rm_banktruckrobbery/assets/images/ into ox_inventory/web/images/.

  • qb-core / Qbox: merge items - qb-core.lua and weapons - qb-core.lua into your shared items/weapons files and copy the images into your inventory's image folder.

  • ESX: run esx_items.sql.

4

Start the resource

Add it to your server.cfg, below ox_lib, rm_tools and your framework so the dependencies are already running:

ensure ox_lib
ensure qb-core # your framework
ensure rm_tools
ensure rm_banktruckrobbery
5

Configure it

Open cfg.lua and the files under data/. Every option is annotated in place; Configuration covers the ones worth knowing about.

Updating

Replace the whole folder, then carry your own edits back into the new one. Only these files are meant to be edited, and only these need re-applying:

  • cfg.lua

  • data/npcs.lua, data/prices.lua, data/offsets.lua

  • server/discord_log.lua

  • client/editable_functions.lua

  • anything you added under bridge/

  • locales/

Options added in a newer version fall back to their defaults when they are missing from an old cfg.lua, so an outdated config keeps working. It will not have the new options in it, though, so compare against the shipped cfg.lua when you want them.

Last updated