Prison Life
Prison Life is a script designed to enhance the prison experience of your FiveM server. Inmates are able to do a wide range of activities from legal jobs around the facility, to joining a prison gang and putting in work. Two new custom drugs have been implemented, a prison roll (spliff) and pruno (prison wine). Set drunk/high effect timings as well as armor/thirst levels upon use. Purchase legal items for money at the commissary. Other custom items are included such as dice which can be rolled based on how many you have in your inventory, and stamps which can be traded to gangs for illegal items.
Features
- Commissary system
- Various legal jobs to do around the prison
- Custom gangs with unique tasks and progress rewards
- Two new custom drugs: Pruno (prison wine), Prison Roll (spliff)
- Stamps and illegal item trading system
- Dice and advanced dice roll system
Note: This script is not intended to be a jailing system, and does not have anything to do with sending criminals to the facility. It is simply an addon layer for the prison to make RP and serving time more interesting.
Purchase Link: [QB/ESX] Prison Life
Unencrypted Version: [QB/ESX] Prison Life | Unencrypted
Compatibility
Interactions
You may choose whether or not to use a third-eye targeting system with this script. Interaction points can be location based by doing up and hitting E, or can be through a third-eye system. Three targeting scripts have been tested to be compatible so far: qb-target, ox_target, and qtarget.
Frameworks
Designed with compatibility at the forefront. All features are 1 to 1 translated between the QBCore and ESX frameworks ensuring there is no difference between the two. Switching between frameworks requires no more than changing a simple true/false value and all custom item imports are done automatically by the script for the highest ease of installation.
Demo Video
Various UI Types
Configuration
All game settings and messages can be changed. This script is preset for Bolingbroke Penitentiary by Desteros, which is the prison MLO included in the default QBCore recipe. However, all locations are fully configurable allowing you to change to any MLO of your choosing.
- Gang peds can be placed anywhere doing various scenario animations
- Commissary and trading items can be added and removed
- Task and effect timings can be altered
- Interaction locations can be moved
- Loot tables with chances for completing tasks/jobs
- Optional ox_lib / third-eye integrations
- A language file is included for owners to translate all in game messages
Lower Prison Sentence
Included in the config is a performOnJobCompletion() function. Here is where you can execute code to lower a players jail time upon completing a job. Check your jailing system for how to lower sentences.
Config Examples
- QBCore: Click Here
- ESX: Click Here
Installation
Plug and play. The only thing you need to ensure is that the correct framework is selected in the config and to move the included item icon images to your local inventory icon directory. Database entries are added and checked automatically.
Feel free to DM me for any support.
Code is accessible | Yes/No |
Subscription-based | No |
Lines (approximately) | ~3300 |
Requirements | qb-core or ESX |
Dependencies | PolyZone, oxmysql |
Compatibility | ox_lib, qb-target, ox_target, qtarget |
Support | Yes |
Check out my other scripts
[QB/ESX] Food Deliveries | Connect Businesses & Side Jobs
[QB] Crypto Heist | Unique Life Invader Heist