Installation Guide
Dependencies
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:
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:
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
Open
items.lua: Navigate toox_inventory/data/items.lua.Add the Following Items: Insert the following code into the
items.luafile:["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', } },
Open
items.lua: Navigate toqb-core/shared/items.lua.Add the Following Items: Insert the following code into the
items.luafile:["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." }
Import the
items.sqlfile into your database in the [SQL]/ESX directory.
2. Copy Images
Copy the corresponding item images to the images folder of your inventory.
3. Implement Doorlocks
Locate Lua Files: Place the
doorlock/qb-nui_doorlock/*.luafile (nopixel/gabz/k4mb1) into theconfigsfolder ofqb-doorlock/nui_doorlock.
Alternative Method:
Copy Code: Alternatively, copy the code directly into the main
qb-doorlock/nui_doorlockconfiguration file.
Import SQL File: Import either the
gabzoxDoorlock.sql/nopixeloxDoorlock.sqlork4mb1Doorlock.sqlfile into your database.
Copy JSON Data: Copy the JSON data from
doorlock/cd_doorlock/*.jsoninto your maindoor_data.jsonfile located incd_doorlock.
Alternative Method:
Add the files to the
JSON files/gabz_locationsfolder incd_doorlock.Use the in-game menu to import the file into your maindoor_data, incorporating the door locks.
Utilizing the
/doorscreatorcommand, create new doors, however make sure they're labelled correctly. (bobcatfirst,bobcatsecond,bobcatthirdrespectively.)
Last updated
