# JailPersistence

An LSPDFR plugin for GTA V that makes jailed peds permanent. Arrested NPCs stay in Mission Row PD's holding cells with idle animations and survive game reboots.

## Features

- Arrested peds persist in Mission Row jail cells across sessions
- 50+ idle animations for jailed peds (sitting, leaning, pacing, etc.)
- Interactive menu (RShift+N) to view, rename, and release inmates
- Headshot mugshots in the management menu
- Walk-in teleporters between Mission Row back door and other stations (Bolingbroke, La Mesa, LSX, Paleto Bay, and more)
- Full appearance preservation (clothing, props, model)
- Saves to disk via JailPersistence.dat

## Requirements

- Grand Theft Auto V
- RagePluginHook (RPH)

## Installation

1. Copy `JailPersistence.dll` and `JailPersistence.ini` into your GTA V `plugins` folder (e.g. `Grand Theft Auto V\plugins\`).
2. Launch GTA V through RagePluginHook.

## Configuration

Edit `JailPersistence.ini` in your `plugins` folder to change keybinds and teleporter settings:

[Keybinds]
MenuToggleKey=N
MenuToggleModifier=RShiftKey
MenuCloseKey=Escape
MenuSelectKey=Return
MenuRenameKey=R

[Teleporter]
PreferredStation=PaletoBay

Valid teleporter stations: None, Bolingbroke, LaMesa, LSX, PaletoBay, Rancho, RockfordHills, SandyShores, Vespucci, VinewoodHills, DowntownVinewood

## Usage

- **RShift+N** — Open/close the inmate management menu
- **Arrow keys** — Navigate the menu
- **Enter** — Select / release an inmate
- **R** — Rename an inmate
- **Escape** — Close the menu

Arrest and transport suspects to Mission Row PD as normal through LSPDFR. When a ped is released into the holding cells (by StopThePed, PolicingRedefined, or any similar mod), JailPersistence automatically picks them up. Detection is position-based — any non-cop ped standing in the jail cell area will be registered.

Walk into the Mission Row back door to teleport to your preferred station, and vice versa.

## Author

Gamecock Tomahawk
