Config = {} Config.UseTarget = GetConvar('UseTarget', 'false') == 'true' -- Use qb-target interactions (don't change this, go to your server.cfg and add `setr UseTarget true` to use this and just that from true to false or the other way around) local isServer = IsDuplicityVersion() if not isServer then --- This function will be triggered once the hack is done --- @param success boolean --- @param currentGate number --- @param gateData table --- @return nil function Config.OnHackDone(success, currentGate, gateData) if success then TriggerServerEvent("prison:server:SetGateHit", currentGate) TriggerServerEvent('qb-doorlock:server:updateState', gateData.gatekey, false, false, false, true) else TriggerServerEvent("prison:server:SecurityLockdown") end TriggerEvent('mhacking:hide') end end Config.Jobs = { ["electrician"] = "Elektrikker" } Config.Uniforms = { ['male'] = { outfitData = { ['t-shirt'] = { item = 15, texture = 0 }, ['torso2'] = { item = 345, texture = 0 }, ['arms'] = { item = 19, texture = 0 }, ['pants'] = { item = 3, texture = 7 }, ['shoes'] = { item = 1, texture = 0 }, } }, ['female'] = { outfitData = { ['t-shirt'] = { item = 14, texture = 0 }, ['torso2'] = { item = 370, texture = 0 }, ['arms'] = { item = 0, texture = 0 }, ['pants'] = { item = 0, texture = 12 }, ['shoes'] = { item = 1, texture = 0 }, } }, } Config.Locations = { jobs = { ["electrician"] = { [1] = { coords = vector4(1761.46, 2540.41, 45.56, 272.249), }, [2] = { coords = vector4(1718.54, 2527.802, 45.56, 272.249), }, [3] = { coords = vector4(1700.199, 2474.811, 45.56, 272.249), }, [4] = { coords = vector4(1664.827, 2501.58, 45.56, 272.249), }, [5] = { coords = vector4(1621.622, 2509.302, 45.56, 272.249), }, [6] = { coords = vector4(1627.936, 2538.393, 45.56, 272.249), }, [7] = { coords = vector4(1625.1, 2575.988, 45.56, 272.249), } } }, ["freedom"] = { coords = vector4(1744.2748, 2476.9155, 44.8124, 302.6531) }, ["outside"] = { coords = vector4(1848.13, 2586.05, 44.67, 269.5) }, ["yard"] = { coords = vector4(1765.67, 2565.91, 44.56, 1.5) }, ["middle"] = { coords = vector4(1691.381, 2565.5413, 45.5528, 173.809), }, ["shop"] = { coords = vector4(1777.59, 2560.52, 44.62, 187.83) }, spawns = { [1] = { coords = vector4(1661.046, 2524.681, 45.564, 260.545) }, [2] = { coords = vector4(1650.812, 2540.582, 45.564, 230.436) }, [3] = { coords = vector4(1654.959, 2545.535, 45.564, 230.436) }, [4] = { coords = vector4(1697.106, 2525.558, 45.564, 187.208) }, [5] = { coords = vector4(1673.084, 2519.823, 45.564, 229.542) }, [6] = { coords = vector4(1666.029, 2511.367, 45.564, 233.888) }, [7] = { coords = vector4(1691.229, 2509.635, 45.564, 52.432) }, [8] = { coords = vector4(1769.7306, 2488.1616, 45.8194, 88.3993) }, [9] = { coords = vector4(1698.5762, 2450.7483, 45.8419, 54.1423) }, [10] = { coords = vector4(1579.2762, 2550.1909, 45.988, 287.9077) }, [11] = { coords = vector4(1765.5603, 2496.7261, 50.4268, 119.4061) } } } Config.CanteenItems = { [1] = { name = "sandwich", price = 4, amount = 50, info = {}, type = "item", slot = 1 }, [2] = { name = "water_bottle", price = 4, amount = 50, info = {}, type = "item", slot = 2 } }