# DeadPedCleaner

A RagePluginHook plugin for GTA V that removes all dead pedestrians with a single keypress.

## Features

- Press a hotkey (default END) to despawn all dead peds in the world
- Skips the player character
- Configurable hotkey via INI file
- Logs cleanup count to the console

## Requirements

- Grand Theft Auto V
- RagePluginHook (RPH)

## Installation

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

## Configuration

Edit `DeadPedCleaner.ini` in your `plugins` folder to change the hotkey:

```ini
[Settings]
CleanDeadPedsKey=End
CleanDeadPedsModifier=None
```

Use any .NET `Keys` enum name for the key (e.g. `End`, `F9`, `Delete`, `Subtract`). Set the modifier to `None` for no modifier, or `LControlKey`, `LShiftKey`, `LMenu` (Left Alt), etc.

## Usage

Press the configured hotkey (default **END**) to remove all dead peds from the world.

## Author

Gamecock Tomahawk
