๐Ÿ”qb-prison

Nice, quiet gated community

Introduction

  • Allows police the ability to jail players for a certain length of time. When a player is jailed, they are stripped of their items and job. When they are released, those items are returned

Configuration

General

Config = {}
Config.Jobs = { -- jobs that players can do, index used for locations below
    ["electrician"] = "Electrician"
}

Locations

Config.Locations = {
    ["freedom"] = { -- interaction location to check remaining time / be released
        coords = vector4(1836.37, 2585.33, 45.89, 272.96)
    },
    ["outside"] = { -- location for players to spawn upon release
        coords = vector4(1848.13, 2586.05, 45.67, 269.5)
    },
    ["yard"] = { -- location of the cells
        coords = vector4(1765.67, 2565.91, 45.56, 1.5)
    },
    ["middle"] = { -- location of blip for police during prison break
        coords = vector4(1693.33, 2569.51, 45.55, 123.5)
    },
    ["shop"] = { -- location of the prison shop
        coords = vector4(1786.19, 2557.77, 45.62, 0.5)
    },
    spawns = { -- locations for players to spawn when jailed
        [1] = {
            animation = "bumsleep", -- animation to play on spawn
            coords = vector4(1661.046, 2524.681, 45.564, 260.545) -- spawn loc
        },
    }
}

Work

Shop items

Prison break

  • Found in qb-prison/client/prisonbreak.lua

Last updated

Was this helpful?