r_atmrobbery Installation
Install r_atmrobbery: download it from the Cfx.re Portal, add the three items and ensure it after ox_lib and ESX, QBCore or QBX.
Prerequisites
- ox_lib
- ESX, QBCore or QBX
- OneSync
- Optional: ox_target or qb-target, a dispatch script
Installation Steps
Download & Extract
- Download R_Atmrobbery from your Cfx.re Portal
- Extract the folder into your server's
resourcesdirectory - Make sure the folder is named exactly
r_atmrobbery
r_atmrobbery
assetsitems and their images
bridgeopen: prompt, bars, progress and custom target
- cl_bridge.luanotify
- cl_meters.luaR.Meters = 'custom'
- cl_progress.luaR.Progress = 'custom'
- cl_target.luaR.Target = 'custom'
- cl_textui.luaR.TextUI = 'custom'
client
- cl_custom.luaskill check, minigame, dispatch alerts
htmlthe bars and the ATM hack screen
localesen, fi
server
- sv_custom.luaDiscord webhook, hooks, lb-tablet
shared
- config.luaevery setting
- fxmanifest.lua
Add the items
Copy the entries from assets/ox_inventory_items.lua into ox_inventory/data/items.lua, and
the images from assets/images/ into ox_inventory/web/images/. For QBCore or ESX, add the same
three items in your inventory's own format.
hacking_device, thermal_charge, tow_rope
The crowbar is GTA's WEAPON_CROWBAR. ox_inventory already has it.
Add to server.cfg
Put it after ox_lib, your framework, inventory and target:
ensure ox_lib
ensure qbx_core
ensure ox_inventory
ensure ox_target
ensure r_atmrobberyLanguage (optional, default English):
setr ox:locale "en" # en | fiDiscord logs (optional)
Paste your webhook into WEBHOOK at the top of server/sv_custom.lua, or set
R.Logs.type = 'ox_lib'.
Restart & rob
Restart the server, equip a crowbar or carry a hacking device, a thermal charge or a tow rope, and walk up to any ATM.
Updates
The console tells you when a new version is out. Download it from the Cfx.re Portal and replace the
folder, keeping your shared/config.lua, bridge/, client/cl_custom.lua, server/sv_custom.lua
and locales.
Keep the folder name r_atmrobbery and don't change author in fxmanifest.lua, or the update
check stops.