Installation Guide
Dependencies
qb-core / qbx_core or es_extended
Framework
qb-target / qtarget / ox_target
sd_lib
Important Library
Supported Maps
K4MB1'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
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:["gang-keychain"] = { label = "Keychain", weight = 50, stack = true, close = true, description = "A keychain with a load of oddly labelled keys", client = { image = "gang-keychain.png", } }, ["safecracker"] = { label = "Safe Cracker", weight = 500, stack = true, close = true, description = "A specialized tool used for breaking into safes.", client = { image = "safecracker.png", } },
Open
items.lua: Navigate toqb-core/shared/items.lua.Add the Following Items: Insert the following code into the
items.luafile:['gang-keychain'] = {['name'] = 'gang-keychain', ['label'] = 'Gang Keychain', ['weight'] = 20, ['type'] = 'item', ['image'] = 'gang-keychain.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A keychain with a load of oddly labelled keys'}, ['safecracker'] = {['name'] = 'safecracker', ['label'] = 'Safecracker', ['weight'] = 500, ['type'] = 'item', ['image'] = 'safecracker.png', ['unique'] = true, ['useable'] = false, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A specialized tool used for breaking into safes.'},
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 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 the
traphouse.sql(indoorlock/ox_doorlock/*.sql) file into your database.
Utilizing the
/doorscreatorcommand, create a new door, however make sure it's labelled correctly. (e.g.traphouse-front)
Last updated
