# GateOpener

A RagePluginHook plugin for GTA V that removes gates and barriers near you with a single keypress.

## Features

- Press Numpad+ to delete gates and barriers within a 25m radius
- Recognizes a wide range of gate and barrier types: prison, military, airport, dock, chain-link, security, farm, industrial, compound, garage doors, concrete barriers, and liftable barriers
- If no known gates are found, logs all nearby objects to the console to help identify new gate models
- Runs automatically in the background — no configuration needed

## Requirements

- Grand Theft Auto V
- RagePluginHook (RPH)

## Installation

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

## Configuration

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

[Settings]
OpenGateKey=Add
OpenGateModifier=None

Use any .NET Keys enum name for the key. Note: Numpad plus is called "Add" in .NET. Set the modifier to None for no modifier, or LControlKey, LShiftKey, LMenu (Left Alt), etc.

## Usage

Walk up to a gate or barrier and press the configured hotkey (default **Numpad+**) to remove it.

## Author

Gamecock Tomahawk
