[QB/ESX] Prison Life

€15

(1 customer review)
Description

Walk up to an interaction point and press E. In Prison Life, a prison gameplay script for FiveM, an inmate can spend money at the commissary for legal goods. The script includes custom stamps. For illegal goods, inmates can take stamps to a gang and trade them for items.

Making a roll or taking a job

Inmates can roll custom dice. The advanced dice system bases each roll on the number of dice the player carries in their inventory. Inmates can also choose from several legal jobs around the prison or join a custom prison gang. Each gang has tasks of its own and offers rewards as members make progress. Completing a job or a task gives the player a chance at loot through the loot tables.

Prison Life also includes two new custom drugs. The prison wine is called Pruno. The spliff is called Prison Roll.

Watch the Prison Life showcase.

Adjusting jobs, trades and effects

As the server owner, you can change how long a task takes and adjust the timing of effects. You decide how long players stay drunk or high. You can also set the armor and thirst levels that apply on use. Both item selections are editable. You can add goods to the commissary or remove them, and do the same for items offered in trades.

To have a completed job count toward a shorter sentence, check how your jailing system handles sentence reductions. The config provides performOnJobCompletion(). You can run code in that function to reduce a player’s jail time when they finish a job.

Placing peds and interaction points

The initial layout uses Bolingbroke Penitentiary, the MLO that Desteros created and that QBCore includes in its default recipe. You can choose any MLO and configure every location. Move interaction points wherever you need them. Gang peds can go anywhere and can perform a variety of scenario animations.

Third-eye targeting is an option alongside the location-based controls. Compatibility testing covered qtarget, qb-target and ox_target. You can also opt to use ox_lib.

Setting up your framework

Every feature translates one to one between ESX and QBCore. For plug-and-play installation, select the framework your server uses in the config and move the supplied item icon images into your local inventory’s icon directory. A change to one true/false value switches frameworks. Prison Life automatically imports every custom item. It also handles both adding and checking database entries automatically.

See the QBCore configuration or the ESX configuration. You can change every game setting and edit every game message. The supplied language file lets you translate each text string into the language your server uses. For use on your own server, you are free to read the resource’s code and edit it.

Reviews (1)

1 review for [QB/ESX] Prison Life

  1. Nick Rempel –

    The [QB/ESX] Prison Life script is exactly what our RP server needed. Great optimization, no lag issues at all.