qbcore-framework / qb-prison Goto Github PK
View Code? Open in Web Editor NEWPrison/Jailing Script for QB-Policejob
License: GNU General Public License v3.0
Prison/Jailing Script for QB-Policejob
License: GNU General Public License v3.0
This is a huge issue that our staff have to fix daily :/
Describe the bug
so i have noticed the last week or so we been getting alot of tickets about the jail system and ive looked in to seeing if anything was causing this and couldn't see anything but to be on the safe side i have downloaded a fresh copy of qb-prison and qb-police job and /jail is still not working it brings up how long to send the person off but once chosen it does not do anything. ive had no issue b4
when you start up the server join in the server you cant break prison gate after restart the script while in server the required shows up and can use electronic kit
When using electronickit to start Jailbreak, it does not work.
How can i fix?
Once you get through all seven locations for the electrical job, it loops back to the first location and shows on the map however qb-target breaks and your not able to use your third eye to complete the task.
using items then nothing happened. no error just simply not working at all
Problem when escaping from prison
Escape from prison
Switching the character and returning to it again, the player will be returned to prison
I have downloaded fresh install or qb-prison and qb-doorlock. i successfully hack the system and it doesnt unlock the gate like the code says....am i doing something wrong or is this an issue? i have provided my doorlist and picture. qb-prison is fresh install from 10 minutes ago. no changes made to it
-- Visitor created by ^1Elyyyy.
Config.DoorList['Visitor'] = {
garage = false,
audioRemote = false,
objHeading = 89.999977111816,
locked = true,
objHash = -1033001619,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1839.636, 2585.275, 46.1632),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- Captain Quarters created by ^1Elyyyy.
Config.DoorList['Captain Quarters'] = {
garage = false,
audioRemote = false,
objHeading = 0.0,
locked = true,
objHash = -1320876379,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1844.353, 2579.587, 46.16001),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- PrisonBar1 created by ^1Elyyyy.
Config.DoorList['PrisonBar1'] = {
garage = false,
audioRemote = false,
objHeading = 89.999977111816,
locked = false,
objHash = -1437850419,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1841.047, 2595.018, 46.16415),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- PrisonBar2 created by ^1Elyyyy.
Config.DoorList['PrisonBar2'] = {
garage = false,
audioRemote = false,
objHeading = 89.999977111816,
locked = true,
objHash = -1437850419,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1833.67, 2595.02, 46.16415),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- PrisonerToVisitor created by ^1Elyyyy.
Config.DoorList['PrisonerToVisitor'] = {
garage = false,
audioRemote = false,
objHeading = 0.0,
locked = true,
objHash = -1033001619,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1830.421, 2592.898, 46.16163),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- Door2 created by ^1Elyyyy.
Config.DoorList['Door2'] = {
garage = false,
audioRemote = false,
objHeading = 270.00003051758,
locked = true,
objHash = -1033001619,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1829.4, 2595.019, 46.16217),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- Door3 created by ^1Elyyyy.
Config.DoorList['Door3'] = {
garage = false,
audioRemote = false,
objHeading = 0.0,
locked = true,
objHash = -1033001619,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1827.3, 2592.863, 46.16094),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- Door4 created by ^1Elyyyy.
Config.DoorList['Door4'] = {
garage = false,
audioRemote = false,
objHeading = 269.95559692383,
locked = true,
objHash = 1373390714,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1826.304, 2586.452, 46.0849),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- Door5 created by ^1Elyyyy.
Config.DoorList['Door5'] = {
garage = false,
audioRemote = false,
objHeading = 270.06176757812,
locked = true,
objHash = 1373390714,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1819.063, 2594.865, 46.16105),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- GateOutside1 created by ^1Elyyyy.
Config.DoorList['GateOutside1'] = {
garage = false,
audioRemote = false,
objHeading = 179.99987792969,
locked = true,
objHash = -1156020871,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1797.761, 2596.565, 46.38731),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- GateOutside2 created by ^1Elyyyy.
Config.DoorList['GateOutside2'] = {
garage = false,
audioRemote = false,
objHeading = 179.99987792969,
locked = true,
objHash = -1156020871,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1798.09, 2591.687, 46.41784),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- PrisonMain1 created by ^1Elyyyy.
Config.DoorList['PrisonMain1'] = {
garage = false,
audioRemote = false,
objHeading = 209.93482971191,
locked = false,
objHash = 1373390714,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1754.853, 2501.747, 46.02727),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- Bathroom created by ^1Elyyyy.
Config.DoorList['Bathroom'] = {
garage = false,
audioRemote = false,
objHeading = 29.93483543396,
locked = false,
objHash = -1033001619,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1738.991, 2492.181, 45.97176),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- ToBathroom created by ^1Elyyyy.
Config.DoorList['ToBathroom'] = {
garage = false,
audioRemote = false,
objHeading = 119.93480682373,
locked = false,
objHash = -1033001619,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1754.177, 2498.635, 45.97274),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- PrisonJail created by ^1Elyyyy.
Config.DoorList['PrisonJail'] = {
garage = false,
audioRemote = false,
objHeading = 29.93483543396,
locked = false,
objHash = -1033001619,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1758.064, 2493.794, 45.96915),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- Gym created by ^1Elyyyy.
Config.DoorList['Gym'] = {
garage = false,
audioRemote = false,
objHeading = 119.93480682373,
locked = false,
objHash = -1437850419,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1771.956, 2493.91, 45.97048),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- Jail11 created by ^1Elyyyy.
Config.DoorList['Jail11'] = {
garage = false,
audioRemote = false,
objHeading = 209.9348449707,
locked = false,
objHash = -1167410167,
slides = true,
maxDistance = 6.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1749.419, 2488.814, 44.82383),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- Jail12 created by ^1Elyyyy.
Config.DoorList['Jail12'] = {
garage = false,
audioRemote = false,
objHeading = 209.9348449707,
locked = false,
objHash = -1167410167,
slides = true,
maxDistance = 6.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1752.438, 2490.552, 44.82426),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- Jail13 created by ^1Elyyyy.
Config.DoorList['Jail13'] = {
garage = false,
audioRemote = false,
objHeading = 209.9348449707,
locked = false,
objHash = -1167410167,
slides = true,
maxDistance = 6.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1755.45, 2492.287, 44.82582),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- Jail14 created by ^1Elyyyy.
Config.DoorList['Jail14'] = {
garage = false,
audioRemote = false,
objHeading = 209.9348449707,
locked = false,
objHash = -1167410167,
slides = true,
maxDistance = 6.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1761.473, 2495.755, 44.82623),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- Jail16 created by ^1Elyyyy.
Config.DoorList['Jail16'] = {
garage = false,
audioRemote = false,
objHeading = 29.93483543396,
locked = false,
objHash = -1167410167,
slides = true,
maxDistance = 6.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1772.344, 2484.57, 49.42679),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- PoliceAccessWindow created by ^1Elyyyy.
Config.DoorList['PoliceAccessWindow'] = {
lockpick = false,
slides = false,
audioRemote = false,
doors = {
{objHash = -2109504629, objHeading = 299.93487548828, objCoords = vector3(1771.651, 2494.379, 50.58325)},
{objHash = -2109504629, objHeading = 119.93480682373, objCoords = vector3(1772.949, 2492.125, 50.58296)}
},
authorizedJobs = { ['police']=0 },
maxDistance = 2.5,
locked = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- ToDown created by ^1Elyyyy.
Config.DoorList['ToDown'] = {
garage = false,
audioRemote = false,
objHeading = 299.93487548828,
locked = true,
objHash = -1033001619,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1782.758, 2498.295, 50.57922),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- Down created by ^1Elyyyy.
Config.DoorList['Down'] = {
garage = false,
audioRemote = false,
objHeading = 29.93483543396,
locked = true,
objHash = -1033001619,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1779.72, 2507.594, 45.97622),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- Right to Outside created by ^1Elyyyy.
Config.DoorList['Right to Outside'] = {
garage = false,
audioRemote = false,
objHeading = 119.93480682373,
locked = true,
objHash = 1373390714,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0 },
objCoords = vector3(1781.066, 2510.157, 45.97366),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- Left created by ^1Elyyyy.
Config.DoorList['Left'] = {
garage = false,
audioRemote = false,
objHeading = 119.93480682373,
locked = true,
objHash = -1033001619,
slides = false,
maxDistance = 2.0,
fixText = false,
authorizedJobs = { ['police']=0, ['ambulance']=0 },
objCoords = vector3(1778.182, 2508.379, 45.97719),
lockpick = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- tower1 created by TowerClimber71
Config.DoorList['tower1'] = {
locked = true,
objHeading = 25.000093460083,
maxDistance = 2.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = -1033001619,
audioRemote = false,
objCoords = vector3(1759.62, 2412.837, 45.71166),
lockpick = false,
slides = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- tower2 created by TowerClimber71
Config.DoorList['tower2'] = {
locked = true,
objHeading = 65.000068664551,
maxDistance = 2.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = -1033001619,
audioRemote = false,
objCoords = vector3(1821.17, 2476.265, 45.68915),
lockpick = false,
slides = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- tower3 created by TowerClimber71
Config.DoorList['tower3'] = {
locked = true,
objHeading = 355.00003051758,
maxDistance = 2.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = -1033001619,
audioRemote = false,
objCoords = vector3(1658.584, 2397.722, 45.71526),
lockpick = false,
slides = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- tower4 created by TowerClimber71
Config.DoorList['tower4'] = {
locked = true,
objHeading = 289.99996948242,
maxDistance = 2.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = -1033001619,
audioRemote = false,
objCoords = vector3(1543.241, 2471.294, 45.71201),
lockpick = false,
slides = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- tower5 created by TowerClimber71
Config.DoorList['tower5'] = {
locked = true,
objHeading = 270.0,
maxDistance = 2.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = -1033001619,
audioRemote = false,
objCoords = vector3(1537.811, 2585.995, 45.68915),
lockpick = false,
slides = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- tower6 created by TowerClimber71
Config.DoorList['tower6'] = {
locked = true,
objHeading = 234.99996948242,
maxDistance = 2.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = -1033001619,
audioRemote = false,
objCoords = vector3(1572.662, 2679.191, 45.72976),
lockpick = false,
slides = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- tower7 created by TowerClimber71
Config.DoorList['tower7'] = {
locked = true,
objHeading = 200.14155578613,
maxDistance = 2.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = -1033001619,
audioRemote = false,
objCoords = vector3(1651.161, 2755.436, 45.87868),
lockpick = false,
slides = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- tower8 created by TowerClimber71
Config.DoorList['tower8'] = {
locked = true,
objHeading = 165.00006103516,
maxDistance = 2.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = -1033001619,
audioRemote = false,
objCoords = vector3(1773.108, 2759.7, 45.88673),
lockpick = false,
slides = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- tower9 created by TowerClimber71
Config.DoorList['tower9'] = {
locked = true,
objHeading = 95.000061035156,
maxDistance = 2.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = -1033001619,
audioRemote = false,
objCoords = vector3(1845.79, 2698.621, 45.95531),
lockpick = false,
slides = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- tower10 created by TowerClimber71
Config.DoorList['tower10'] = {
locked = true,
objHeading = 85.000030517578,
maxDistance = 2.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = -1033001619,
audioRemote = false,
objCoords = vector3(1820.77, 2620.77, 45.95126),
lockpick = false,
slides = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- entrance created by TowerClimber71
Config.DoorList['entrance'] = {
locked = true,
objHeading = 179.99998474121,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1799.608, 2616.975, 44.60325),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- entrance2 created by TowerClimber71
Config.DoorList['entrance2'] = {
locked = true,
objHeading = 90.0,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1844.998, 2604.813, 44.63978),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- entrance3 created by TowerClimber71
Config.DoorList['entrance3'] = {
locked = true,
objHeading = 90.0,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1818.543, 2604.813, 44.611),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate1 created by TowerClimber71
Config.DoorList['bullpingate1'] = {
locked = true,
objHeading = 251.97775268555,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1813.749, 2488.907, 44.46368),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate2 created by TowerClimber71
Config.DoorList['bullpingate2'] = {
locked = true,
objHeading = 70.905723571777,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1808.992, 2474.545, 44.48077),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate4 created by TowerClimber71
Config.DoorList['bullpingate4'] = {
locked = true,
objHeading = 26.757732391357,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1749.142, 2419.812, 44.42517),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate5 created by TowerClimber71
Config.DoorList['bullpingate5'] = {
locked = true,
objHeading = 173.00039672852,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1667.669, 2407.648, 44.42879),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate6 created by TowerClimber71
Config.DoorList['bullpingate6'] = {
locked = true,
objHeading = 353.00042724609,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1652.984, 2409.571, 44.44308),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate7 created by TowerClimber71
Config.DoorList['bullpingate7'] = {
locked = true,
objHeading = 118.04624938965,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1558.221, 2469.349, 44.39529),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate8 created by TowerClimber71
Config.DoorList['bullpingate8'] = {
locked = true,
objHeading = 298.04623413086,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1550.93, 2482.743, 44.39529),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate9 created by TowerClimber71
Config.DoorList['bullpingate9'] = {
locked = true,
objHeading = 87.0146484375,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1546.983, 2576.13, 44.39033),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate10 created by TowerClimber71
Config.DoorList['bullpingate10'] = {
locked = true,
objHeading = 267.01473999023,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1547.706, 2591.282, 44.50947),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate11 created by TowerClimber71
Config.DoorList['bullpingate11'] = {
locked = true,
objHeading = 54.548603057861,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1575.719, 2667.152, 44.50947),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate12 created by TowerClimber71
Config.DoorList['bullpingate12'] = {
locked = true,
objHeading = 233.70986938477,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1584.653, 2679.75, 44.50947),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate13 created by TowerClimber71
Config.DoorList['bullpingate13'] = {
locked = true,
objHeading = 27.17546081543,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1648.411, 2741.668, 44.44669),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate14 created by TowerClimber71
Config.DoorList['bullpingate14'] = {
locked = true,
objHeading = 207.17547607422,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1662.011, 2748.703, 44.44669),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate15 created by TowerClimber71
Config.DoorList['bullpingate15'] = {
locked = true,
objHeading = 339.62002563477,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1762.196, 2752.489, 44.44669),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate16 created by TowerClimber71
Config.DoorList['bullpingate16'] = {
locked = true,
objHeading = 160.00001525879,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1776.701, 2747.148, 44.44669),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate17 created by TowerClimber71
Config.DoorList['bullpingate17'] = {
locked = true,
objHeading = 289.16897583008,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1830.134, 2703.499, 44.4467),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- bullpingate18 created by TowerClimber71
Config.DoorList['bullpingate18'] = {
locked = true,
objHeading = 110.00004577637,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 741314661,
audioRemote = false,
objCoords = vector3(1835.285, 2689.104, 44.4467),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- staff created by TowerClimber71
Config.DoorList['staff'] = {
locked = true,
objHeading = 0.0,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 2024969025,
audioRemote = false,
objCoords = vector3(1844.404, 2576.997, 46.0356),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- staff1 created by TowerClimber71
Config.DoorList['staff1'] = {
locked = true,
objHeading = 0.0,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 2024969025,
audioRemote = false,
objCoords = vector3(1837.634, 2576.992, 46.0386),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- staff2 created by TowerClimber71
Config.DoorList['staff2'] = {
locked = true,
objHeading = 0.0,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = -684929024,
audioRemote = false,
objCoords = vector3(1837.742, 2592.162, 46.03957),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- staff3 created by TowerClimber71
Config.DoorList['staff3'] = {
locked = true,
objHeading = 270.00003051758,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = -684929024,
audioRemote = false,
objCoords = vector3(1838.617, 2593.705, 46.03636),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- staff4 created by TowerClimber71
Config.DoorList['staff4'] = {
locked = true,
objHeading = 89.999961853027,
maxDistance = 6.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = -684929024,
audioRemote = false,
objCoords = vector3(1831.34, 2594.992, 46.03791),
lockpick = false,
slides = true,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- kitchen created by TowerClimber71
Config.DoorList['kitchen'] = {
locked = true,
objHeading = 0.0,
maxDistance = 2.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 2024969025,
audioRemote = false,
objCoords = vector3(1786.831, 2560.269, 45.69551),
lockpick = false,
slides = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- staff5 created by TowerClimber71
Config.DoorList['staff5'] = {
locked = true,
objHeading = 90.000007629395,
maxDistance = 2.0,
authorizedJobs = { ['police']=0, ['ambulance']=0 },
garage = false,
fixText = false,
objHash = -1392981450,
audioRemote = false,
objCoords = vector3(1767.323, 2580.832, 45.74783),
lockpick = false,
slides = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- staff6 created by TowerClimber71
Config.DoorList['staff6'] = {
doors = {
{objHash = -1624297821, objHeading = 270.0, objCoords = vector3(1767.321, 2582.308, 45.75345)},
{objHash = -1624297821, objHeading = 90.000007629395, objCoords = vector3(1767.321, 2584.607, 45.75345)}
},
locked = true,
lockpick = false,
audioRemote = false,
slides = false,
maxDistance = 2.5,
authorizedJobs = { ['police']=0, ['ambulance']=0 },
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
-- staff7 created by TowerClimber71
Config.DoorList['staff7'] = {
locked = true,
objHeading = 4.8494574002689e-05,
maxDistance = 2.0,
authorizedJobs = { ['police']=0 },
garage = false,
fixText = false,
objHash = 2074175368,
audioRemote = false,
objCoords = vector3(1772.813, 2570.296, 45.74467),
lockpick = false,
slides = false,
--oldMethod = true,
--audioLock = {['file'] = 'metal-locker.ogg', ['volume'] = 0.6},
--audioUnlock = {['file'] = 'metallic-creak.ogg', ['volume'] = 0.7},
--autoLock = 1000
}
Doing the command does send people to jail only thing i noticed it do is send the notification at top right
Describe the bug
When a player goes to leave the jail using E and spams the key it causes their inventory to duplicate.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When leaving prison any amounts of key presses should only give the items they went in with.
Screenshots
https://cdn.discordapp.com/attachments/928520398138654790/990068358554722344/unknown.png
Questions (please complete the following information):
qb-
to something custom? NoNone of the prison guards are working with qb-target.
No client or server side exceptions.
I was thinking that it would be cool if there were a way to force a prisoner uniform for people using MP peds or a prisoner ped for people that use the NPC peds when being jailed so that if/when they escape, they're easier to target. and then when released, their ped goes back to normal.
I tryed to the minigame that are near the big gate, after a success attempt it didn't open.
I got no idea how to fix it. ^^
When the player is sent to prison, all the items he has will disappear
But when he gets out of prison, the items that were removed from him before entering prison return to him
The problem is that if he obtains items inside the prison, such as food, drink, or other gifts from the prisoners, the code inside the prison deletes the items he obtained from the prison and gives him the items that were taken from him before entering the prison.
The return of the elements must be in addition, not the erasure and addition
For example, suppose the player takes lockpick
From another player before leaving prison to take a car and go to the city
Here it is a big problem
Because the prison will wipe the items before getting out of prison
This is not logical
Sometimes it is not erased metadata The player is out of prison
A good scanning mechanism should be put into the values inside metadata
Describe the bug
If the server or qb-prison script is restarted while a player is in prison they are given the jail cash again.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Player should only be able to receive this cash 1 time.
Questions (please complete the following information):
qb-
to something custom? [e.g. yes/no] NoWhen getting sent to prison, the animation you're in gets stuck. If it's the leaning/smoking animations, you can't move and you're stuck like that until you reconnect. This is on a clean txAdmin install of QB-Core with no mods, and happens to everyone who gets imprisoned.
Looking at the code, it appears to only call "EmoteCommandStart", and never calling it again to stop the animation or calling a stop.
Describe the bug
While jailing someone some random people goes directly jailbreak not all and gets kicked out of prison .
To Reproduce
Steps to reproduce the behavior:
Questions (please complete the following information):
qb-
to something custom? [no]Additional context
While jailing someone some random people goes directly jailbreak not all and gets kicked out of prison .
Hi,
After updating, I jailed myself to test the script, which resulted in losing all my stuff due to the fact that after the time is due you get the message to take your stuff. But, there is no marker or whatsoever to be found in the jail. Not even at the coordinates. /unjail says you need to be a cop, so I made someone else a cop. He went on duty. Did the command again, but nothing happens, not even an error.
So now what? :(
Describe the bug
No interaction with the prison gates using gatecrack, electronickit seems to do anything with the gates.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Minigame should appear after a progressbar to hack the gates
Screenshots
Video: https://youtu.be/hQXa7nCbR3o
Questions (please complete the following information):
qb-
to something custom? NopeAdditional context
I noticed a few months ago that people couldn't crack the gate, on looking at it I couldn't work it out either, we were on nui-doorlocks so I moved us over to qb-doorlocks and still the prison gates don't do anything (but are locked) and it's all running off the default gate locks in config.lua in qb-doorlock. We have not set any locks there in the /configs/ folder or anything like that.
When I updated just now, I noticed a lot of new door lock events etc coming back into the script, so I thought it was fixed and someone accidently removed it from the qb team months ago by mistake or something, but on using it again, still can't do anything with the gates?
hello can add remove from radio frequency when jail player
If you are jailed by the cops, when your time is over and you reconnect, you are not able to see the option to get released anymore, and you will not recieve or inventory items bag unless you are jailed and unjailed again.
ignore
how can we add jail uniforms? would enhance rp alot
When in Jail and serving time, if using drawtext and doing the prison electricity job.. you can go to the job blip it assigns you at first.. do the work and continuously jut hit [E] in the same spot even though it assigns you a new blip at a new location.
To Reproduce
[Steps to reproduce the behavior:
Got a clip:
(https://streamable.com/504jip)
Expected behavior
I expected the drawtext to be disappear and [E] to be inaccessible in that zone upon finish.
Questions (please complete the following information):
qb-
to something custom? [no]freedom & shop has press E shouldn't it be hidden if using Target?
Describe the feature you'd like
People should get their original cloth back after release from prison.Currently it keep the prison dress after bail
when you are in prison and relog you can't get out of prison
you cant see blips or anything
When ever you send someone to jail they cant use the freedom
Players have been abusing this system by having themselves killed then spawn at the Hospital.
Hey would recomend adding a feature where it blocks from coming back to another spawn location when relogging :D
Describe the bug
using the latest version.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Questions (please complete the following information):
qb-
to something custom? [e.g. yes/no]Additional context
Add any other context about the problem here.
When you get out of prison
and go to any stash
Items do not appear
Is your feature request related to a problem? Please describe.
--> If someone dies in prison, they spawn at Pillbox instead of the prison hospital
Describe the feature you'd like
--> The feature if it isn't implemented already, would be if a prisoner dies, then they would respawn in the prison hospital
Additional context
--> None, but I can take a clip if neccessary!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.