return { prison = vec3(1682.8621, 2541.8115, 45.5648), -- Used for distance check. maxDistance = 125, -- How far can the player go before being teleported back. spawn = vec4(1761.5021, 2497.3845, 44.7408, 209.9614), -- Where you spawn when jailed. unjailSpawn = vec4(1848.3793, 2585.8940, 44.6727, 271.0469), -- Only used if scenes are disabled. mugshot = { title = 'Bolingbroke Penitentiary', center = 'Inmate #' .. math.random(11, 99), footer = '', header = '', location = vec4(402.82, -996.64, -100.0, 269.64), camera = { location = vec3(403.0, -998.05, -98.5), rotation = vec3(0.0, 0.0, 359.65) } }, jobs = { { location = vec3(1750.2993, 2476.0803, 45.7407), reduceTime = 1, action = function() local coords = GetEntityCoords(cache.ped) local propId = InitPropSpawn({ model = `prop_tool_broom`, coords = coords, attach = { player = cache.serverId, bone = 28422, position = vector3(-0.01, 0.04, -0.03), rotation = vector3(0.0, 0.0, 0.0), rotationOrder = 1 } }) utils.requestAnimDict('anim@amb@drug_field_workers@rake@male_a@base') TaskPlayAnim(cache.ped, 'anim@amb@drug_field_workers@rake@male_a@base', 'base', 8.0, 8.0, -1, 1, 0, false, false, false) Wait(10000) DeleteProp(propId) ClearPedTasks(cache.ped) RemoveAnimDict('anim@amb@drug_field_workers@rake@male_a@base') end }, { location = vec3(1771.9421, 2492.01, 45.7407), reduceTime = 1, action = function() local coords = GetEntityCoords(cache.ped) local propId = InitPropSpawn({ model = `prop_tool_broom`, coords = coords, attach = { player = cache.serverId, bone = 28422, position = vector3(-0.01, 0.04, -0.03), rotation = vector3(0.0, 0.0, 0.0), rotationOrder = 1 } }) utils.requestAnimDict('anim@amb@drug_field_workers@rake@male_b@base') TaskPlayAnim(cache.ped, 'anim@amb@drug_field_workers@rake@male_b@base', 'base', 8.0, 8.0, -1, 1, 0, false, false, false) Wait(10000) DeleteProp(propId) ClearPedTasks(cache.ped) RemoveAnimDict('anim@amb@drug_field_workers@rake@male_b@base') end }, { location = vec3(1718.5072, 2527.9028, 45.5649), reduceTime = 1, action = function() utils.requestAnimDict('anim@gangops@facility@servers@') TaskPlayAnim(cache.ped, 'anim@gangops@facility@servers@', 'hotwire', 8.0, 8.0, -1, 16, 0, false, false, false) Wait(10000) ClearPedTasks(cache.ped) RemoveAnimDict('anim@gangops@facility@servers@') end }, { location = vec3(1621.6362, 2509.3232, 45.5649), reduceTime = 1, action = function() utils.requestAnimDict('anim@gangops@facility@servers@') TaskPlayAnim(cache.ped, 'anim@gangops@facility@servers@', 'hotwire', 8.0, 8.0, -1, 16, 0, false, false, false) Wait(10000) ClearPedTasks(cache.ped) RemoveAnimDict('anim@gangops@facility@servers@') end }, { location = vec3(1642.2651, 2490.1475, 45.5649), reduceTime = 1, action = function() utils.requestAnimDict('anim@gangops@facility@servers@') TaskPlayAnim(cache.ped, 'anim@gangops@facility@servers@', 'hotwire', 8.0, 8.0, -1, 16, 0, false, false, false) Wait(10000) ClearPedTasks(cache.ped) RemoveAnimDict('anim@gangops@facility@servers@') end }, { location = vec3(1706.2852, 2479.4575, 45.5649), reduceTime = 1, action = function() utils.requestAnimDict('anim@gangops@facility@servers@') TaskPlayAnim(cache.ped, 'anim@gangops@facility@servers@', 'hotwire', 8.0, 8.0, -1, 16, 0, false, false, false) Wait(10000) ClearPedTasks(cache.ped) RemoveAnimDict('anim@gangops@facility@servers@') end }, { location = vec3(1735.6125, 2504.4041, 45.5650), reduceTime = 1, action = function() utils.requestAnimDict('anim@gangops@facility@servers@') TaskPlayAnim(cache.ped, 'anim@gangops@facility@servers@', 'hotwire', 8.0, 8.0, -1, 16, 0, false, false, false) Wait(10000) ClearPedTasks(cache.ped) RemoveAnimDict('anim@gangops@facility@servers@') end }, { location = vec3(1760.7550, 2517.3601, 45.5650), reduceTime = 1, action = function() utils.requestAnimDict('anim@gangops@facility@servers@') TaskPlayAnim(cache.ped, 'anim@gangops@facility@servers@', 'hotwire', 8.0, 8.0, -1, 16, 0, false, false, false) Wait(10000) ClearPedTasks(cache.ped) RemoveAnimDict('anim@gangops@facility@servers@') end }, { location = vec3(1761.5339, 2540.4810, 45.5651), reduceTime = 1, action = function() utils.requestAnimDict('anim@gangops@facility@servers@') TaskPlayAnim(cache.ped, 'anim@gangops@facility@servers@', 'hotwire', 8.0, 8.0, -1, 16, 0, false, false, false) Wait(10000) ClearPedTasks(cache.ped) RemoveAnimDict('anim@gangops@facility@servers@') end } } }