Installation
Last updated
Make sure everything on the Dependencies page is installed and starting before this 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.
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.
The three devices must stay usable from the inventory. The shipped ox_inventory definitions already point at the right client event; if you write your own, keep client.event = 'rm_banktruck:client:itemUsed'.
Open cfg.lua and the files under data/. Every option is annotated in place; Configuration covers the ones worth knowing about.
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