Page cover image

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

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:

Doorlocks
Description

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:

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

Installation Steps

1. Add Items

  1. Open items.lua: Navigate to ox_inventory/data/items.lua.

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

    ["bobcatkeycard"] = {
        label = "Bobcat Security Card",
        weight = 1000,
        stack = false,
        close = true,
        description = "A keycard used at the Bobcat Security Deposit.",
        consume = 0,
        client = {
            image = "bobcatkeycard.png",
        }
    },
    
    ["c4_bomb"] = {
        label = "C4 Brick",
        weight = 1000,
        stack = false,
        close = true,
        description = "Very Dangerous! High Yield Explosive.",
        consume = 0,
        client = {
            image = "c4_bomb.png",
        }
    },
    
    ["thermite_h"] = {
        label = "Thermite",
        weight = 1000,
        stack = false,
        close = true,
        description = "A low-yield thermite charge.",
        consume = 0,
        client = {
            image = "thermite_h.png",
        },
        server = {
            export = 'sd-bobcat.useThermite_h',
        }
    },
    

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