Configuration
To make the mass jailbreak function work with any mlo you must follow these steps
Step 1. open the included Solstice-Prison.lua doorlock file Find the type of hackable door you want to add or change either cellBlock
Config.DoorList['Cell-1'] = {
authorizedJobs = {['co']=0, ['police']=0},
objHash = 430324891, -- sanhje_prison_block_cell_door
maxDistance = 2.0,
locked = true,
slides = false,
garage = false,
doorLabel = 'cellBlock',
audioRemote = false,
lockpick = true,
fixText = false,
objCoords = vector3(1771.69, 2573.56, 45.8),
objHeading = 103.12,
-- oldMethod = true,
-- audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
-- audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
-- autoLock = 1000
}if its a cell block hack the doorlabel must = 'cellBlock' for main gate hacks the doorlabel must = 'MainGates'
Step 2. go inside the config.lua and add the doorid to the config.CellBlockDoors section ex.
[1] = {
["cellBlock"] = "Cell-1",
},Notice how Cell-1 Matches the id and cellBlock matches the doorlabel eith the same exact names as the ones in the doorlock file this is very important for the script to work For the main gate hack follows the same steps execpt using the doorlabel as 'cellBlock' instead use 'MainGates' and also add its config in its config.maingates section
Last updated
Was this helpful?