Page cover

Installation Guide

Dependencies

Dependency
Description

qb-core / qbx_core or es_extended

Framework

qb-target / qtarget / ox_target

sd_lib

Important Library

ox_lib

Important Library

meta_libs

Supported Maps

Gabz's Pacific Bank

Supported Doorlocks

This resource supports all of the following doorlocks. At least one of these is required for the script to function:

Doorlocks
Description

nui_doorlock

qb-doorlock

ox_doorlock

Supported Minigames

Each hack in the resource supports all of the following minigames. At least one of these minigames is required for the script to function:

Minigame
Supported Games

ps-ui

circle, maze, carhack, thermite, scrambler

memorygame

ran-minigames

memorycard, terminal

howdy-hackminigame

hacking

sn-hacking

memorygame, skillcheck, thermite, keypad, colorpicker

rm_minigames

typinggame, timelockpick, timedaction, quicktimeevent, combinationlock, buttonmashing, hotwirehack, hackerminigame, safecrack

Optional Lasers

Dependency
Description

mka-lasers

If your not planning on using Lasers, you HAVE to remove the entry for it in the fxmanifest.lua (client_scripts) and turn Config.EnableLasers to false

'@mka-lasers/client/client.lua', -- Remove if you're not planning on using lasers.

Installation Steps

1. Add Items

For ESX:

  1. Import the items.sql file into your database in the [SQL]/ESX directory.

For QB-CORE:

  1. Open items.lua: Navigate to qb-core/shared/items.lua.

  2. Add the Following Items: Insert the following code into the items.lua file:

    ["laptop_pink"]   = {["name"] = "laptop_pink", ["label"] = "Pink Laptop", ["weight"] = 5000, ["type"] = "item", ["image"] = "laptop_pink.png",  ["unique"] = true, ["useable"] = true,     ["shouldClose"] = true,  ["combinable"] = nil, ["description"] = "A pink security Laptop"},
    ["laptop_gold"]   = {["name"] = "laptop_gold", ["label"] = "Gold Laptop", ["weight"] = 5000, ["type"] = "item", ["image"] = "laptop_gold.png",  ["unique"] = true, ["useable"] = true,     ["shouldClose"] = true,  ["combinable"] = nil,  ["description"] = "A gold security Laptop"},
    ['c4_bomb']   = {['name'] = 'c4_bomb', ['label'] = 'C4 Brick', ['weight'] = 1000, ['type'] = 'item',['image'] = 'c4_bomb.png', ['unique'] = true, ['useable'] = false, 	['description'] = 'Very Dangerous! High-Yield Explosive.'},
    ['large_drill'] = {['name'] = 'large_drill', 	['label'] = 'Large Drill', ['weight'] = 20000, 	['type'] = 'item', ['image'] = 'large_drill.png', ['unique'] = false, 	['useable'] = false, 	['shouldClose'] = false,   ['combinable'] = nil, ['description'] = 'A Large Drill, good at cracking Secure Locks.'},

2. Copy Images

Copy the corresponding item images to the images folder of your inventory.

3. Modify Mapdata

Find the following in your cfx-gabz-mapdata/gabz_entityset_mods1.lua and change 'room16_vault_trolleys' to false. like this:

    {
        ipl = 'gabz_sm_pb_milo',
        coords = { x = 260.01200000, y = 220.73300000, z = 108.64600000 },
        entitySets = {
            { name = 'room01_entrance', enable = true },
            { name = 'room02_mainhall', enable = true },
            { name = 'room03_sideentrance', enable = true },
            { name = 'room04_roofstairs', enable = true },
            { name = 'room05_office01', enable = true },
            { name = 'room06_office02', enable = true },
            { name = 'room07_office03', enable = true },
            { name = 'room08_office04', enable = true },
            { name = 'room09_office05', enable = true },
            { name = 'room10_office06', enable = true },
            { name = 'room11_office07', enable = true },
            { name = 'room12_office08', enable = true },
            { name = 'room13_mainoffice', enable = true },
            { name = 'room14_vaultstairs', enable = true },
            { name = 'room15_vaultbasement', enable = true },
            { name = 'room16_vault', enable = true },
            { name = 'room16_vault_trolleys', enable = false }, -- gold and cash trolleys
        }
    },

4. Implement Doorlocks

  1. Locate Lua Files: Place the doorlock/qb-nui_doorlock/*.lua file into the configs folder of qb-doorlock/nui_doorlock.

Alternative Method:

  1. Copy Code: Alternatively, copy the code directly into the main qb-doorlock/nui_doorlock configuration file.

Additional Note

Please ensure that no other resource is utilizing the map/location. The qb-bankrobbery resource is most commonly used for this purpose. If it is in use, you need to remove the Pacific entry from the config as well as any calls/functions that rely on the aforementioned pacific config.

Last updated