Penitencial System

The Penitentiary System introduces a GTA V-style chase system with wanted stars, activated when criminal charges are assigned to a player and they manage to escape. This system works independently and integrates seamlessly with your police workflow.


Key Features

1

Chase System

Players assigned criminal charges who escape will trigger a chase system with visual search stars. (Currently manual, automatic assignment is coming soon.)

2

Standalone Jail System

This system does not require any external jail scripts, making it fully functional on its own.

3

Customizable Settings

The configuration allows you to:

  • Specify jobs permitted to send players to jail.

  • Set jail locations and prisoner spawn/exit points.

  • Manage illegal items confiscated upon arrest.

  • Adjust how long search stars persist out of camera view.

4

Default Compatibility

This feature is only active if Config.MDT.newMdt is set to false.


Default Configuration

1

keyForSendToJail

Keybind for sending a player to jail (default: E).

2

JobsAllowedToSendToJail

List of jobs authorized to use the jail system.

3

TimeToRemoveCodes

Timed removal of search stars when the player is out of camera view.

4

IlegalItems

Items automatically confiscated upon arrest.

5

CanSendToJailIfNotInPoint

If set to true, allows sending players to jail even if they’re not at the designated point.


Jail Points

You can configure multiple jail locations:

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) }
}

Prison Configuration:

1

Jail Name

Name of the penitentiary (e.g., Jail of Paleto).

2

Spawn Points

Coordinates where players appear in jail.

3

Exit Points

Coordinates where players exit jail after serving time.

Jail = {
    name = 'Jail of Paleto',
    radius = 50,
    spawnPoints = { vector4(1678.5844, 2541.4470, 45.5645, 267.97) },
    exitPoints = { vector4(1850.7671, 2586.0156, 45.6720, 274.4039) }
}

Last updated