# UnitRepositioner

A RagePluginHook plugin for GTA V that lets you reposition emergency vehicles and peds by aiming and pressing B.

## Features

- Aim at an emergency vehicle (class 18) + press B to select it, then aim at a destination + press B to send it there
- A jurisdiction-correct officer spawns, jogs to the vehicle, gets in, and drives it to the destination
- Supports LSPD, Sheriff, Highway, FBI, EMS, and Fire jurisdictions
- Highway officers get the correct CHP uniform (no motorcycle boots, campaign hat)
- If the driver can't reach the destination in time, the vehicle is warped into place facing away from where it started
- Also works on peds — aim at a ped + B, aim at spot + B and they walk over and wait
- Custom crosshair reticle when aiming without a weapon: green for vehicles, yellow for peds, blue for destination
- Siren and light state is preserved across the reposition
- Officer exits and walks away naturally after parking
- Configurable ped models and vehicle-to-jurisdiction mappings in the INI

## Requirements

- Grand Theft Auto V
- RagePluginHook (RPH)

## Installation

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

## Configuration

Edit `UnitRepositioner.ini` in your `plugins` folder:

[Keys]
ActionKey=B

[Buttons]
ActionButton=B

[PedModels]
LSPD = S_M_Y_COP_01
Sheriff = S_M_Y_SHERIFF_01
Highway = S_M_Y_HWAYCOP_01
FBI = S_M_Y_FIBOffice_01
EMS = S_M_M_PARAMEDIC_01
Fire = S_M_Y_FIREMAN_01

[Vehicles]
LSPD = POLICE, POLICE2, POLICE3
Sheriff = SHERIFF, SHERIFF2, POLICET
Highway = POLICEB, PRANGER, CRUSADER
FBI = FBI, FBI2, POLICE4
EMS = AMBULANCE
Fire = FIRETRUK

Add modded emergency vehicles to the appropriate jurisdiction line.

## Usage

1. On foot, unequip your weapon (fists only).
2. Hold **LT** (controller) or **right-click** (mouse) to aim.
3. Point at an emergency vehicle or ped and press **B** to select.
4. Point at the destination and press **B** to send them there.

## Author

Gamecock Tomahawk
