Page cover image

Installation Guide

Dependencies

DependencyDescription

qb-core / qbx_core or es_extended

Framework

qb-target / qtarget / ox_target

sd_lib

Important Library

ox_lib

Important Library

Supported Maps

Tobii's Map, K4MB1's Map, Gabz's Map

Supported Doorlocks

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

DoorlocksDescription

nui_doorlock

qb-doorlock

ox_doorlock

cd_doorlock

doors_creator

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:

MinigameSupported 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

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:

    ["bobcatkeycard"] = { ["name"] = "bobcatkeycard", ["label"] = "Bobcat Security Card", ["weight"] = 1000, ["type"] = "item", ["image"] = "bobcatkeycard.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "A keycard used at the Bobcat Security Deposit." },
    ["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." },
    ["thermite_h"] = { ["name"] = "thermite_h", ["label"] = "Thermite", ["weight"] = 1000, ["type"] = "item", ["image"] = "thermite_h.png", ["unique"] = true, ["useable"] = true, ["description"] = "A low-yield thermite charge." }

2. Copy Images

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

3. Implement Doorlocks

  1. Locate Lua Files: Place the doorlock/qb-nui_doorlock/*.lua file (nopixel/gabz/k4mb1) 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.

Last updated