Installation
Download loaf_bankrobbery
Download loaf_bankrobbery from the Cfx portal and add it to your resources folder
Install dependencies
Download and install the following dependencies:
- ox_lib
- ultra-voltlab (hacking minigame)
Add items
Add the following items to your inventory script:
- drill
- drill_bit
- thermite
- laptop
- usb_device
- gold
ox_inventory
If you use ox_inventory, add this to your ox_inventory/data/items.lua file:
["drill"] = {
label = "Drill",
weight = 1,
stack = true,
close = true,
},
["drill_bit" ] = {
label = "Drill Bit",
weight = 1,
stack = true,
close = true,
},
["thermite"] = {
label = "Thermite",
weight = 1,
stack = true,
close = true,
},
["laptop"] = {
label = "Laptop",
weight = 1,
stack = true,
close = true,
},
["usb_device"] = {
label = "USB Device",
weight = 1,
stack = true,
close = true,
},QBCore
If you use QBCore, add this to your qb-core/shared/items.lua file:
usb_device = {
name = 'usb_device',
label = 'USB Device',
weight = 0,
type = 'item',
image = 'usb_device.png',
unique = false,
useable = false,
shouldClose = true,
description = 'Handy software to shut down some systems'
},
drill_bit = {
name = 'drill_bit',
label = 'Drill bit',
weight = 20000,
type = 'item',
image = 'drill_bit.png',
unique = false,
useable = false,
shouldClose = false,
description = 'A drill bit to use with your drill...'
},Add to server.cfg
Add start loaf_bankrobbery to your server.cfg file
Configure
Configure the script to your liking.
Hacking and thermite minigames
The script supports 3 different thermite minigames and 6 different hacking minigames. The one you use can be changed in the config.lua file. The default thermite minigame is memorygame and the default hacking minigame is ultra-voltlab
Whitelisting models for anticheat
Some anticheats block the spawning of certain models. If you’re using an anticheat that does this, you’ll need to whitelist the following models:
- hei_prop_hei_securitypanel
- hei_prop_hei_cash_trolly_01
- h4_prop_h4_cash_stack_01a
- h4_prop_h4_gold_stack_01a
- hei_p_m_bag_var22_arm_s
- hei_prop_heist_thermite
- hei_prop_heist_card_hack_02
- hei_prop_hst_laptop
- hei_p_m_bag_var22_arm_s
- hei_prop_heist_cash_pile
- hei_prop_heist_drill
- hei_prop_heist_deposit_box
- hei_prop_heist_safedepdoor