Penitencial System

We also have a GTA 5 style chase system with search stars, that happens only when you assign a person to criminal charges, and he escapes. Soon this function will be added automatically, so that the player will be charged for each action.

This feature will only work if you use Config.MDT.newMdt = false

You will be able to configure your penitentiary system, you will have the possibility to add jobs allowed to send to the prison, you can configure the point either in the main police station or in a mapping office of your choice.

You can also change the different coordinates to appear inside the prison and the exit coordinate. Here you have the configuration section of the penitentiary system where you can modify it to your preferences.


Default Penitentiary configuration

This is a standalone jail system, so it does not need another jail system to use it.

Config.Penitencial = {
    keyForSendToJail = 'E',
    JobsAllowedToSendToJail = {
        "police",
        -- "fbi"
    },
    TimeToRemoveCodes = {
        [1] = 1,  -- remove is out of camera view past 3 minutes
        [2] = 5,  -- remove is out of camera view past 5 minutes
        [3] = 10, -- remove is out of camera view past 10 minutes
        [4] = 15, -- remove is out of camera view past 15 minutes
        [5] = 20, -- remove is out of camera view past 20 minutes
        [6] = 25, -- remove is out of camera view past 25 minutes
    },
    IlegalItems = {
        'weapon_pistol',
        'pistol_ammo'
    },
    jai = true,
    AbleToSelectWhetherToPardonJail = true,
    CanSendToJailIfNotInPoint = false,
    SendToJailPoints = {
        {
            title = 'Mission Row PD',
            coords = vector3(460.0216, -1001.5779, 24.9149),
        },
        {
            title = 'Mission Row PD',
            coords = vector3(459.1117, -997.9485, 24.9149),
        },
        {
            title = 'Mission Row PD',
            coords = vector3(460.0694, -994.2761, 24.9149),
        }
    },
    Jail = {
        name = 'Jail of paleto',
        -- coords = vector3(1684.7609, 2598.2549, 45.5649),
        radius = 50,
        spawnPoints = { -- sure this points is inside the zone
            vector4(1678.5844, 2541.4470, 45.5645, 267.97),
            vector4(1678.5844, 2541.4470, 45.5645, 267.97),
            vector4(1678.5844, 2541.4470, 45.5645, 267.97)
        },
        exitPoints = {
            vector4(1850.7671, 2586.0156, 45.6720, 274.4039)
        },

    },
}

Last updated

Was this helpful?