Prison Life

[QB/ESX] Prison Life

You are able to freely view and edit the code on this resource for use on your own server.

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.

Showcase :



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

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-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.

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.


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. All game settings and messages can be changed as well.

QBCore Config: Click Here
ESX Config : Click Here

A language file is included allowing server owners to translate every text string to their server’s language.

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.

YOU MAY ALSO LIKE…

RELATED PRODUCTS