Skip to content

Guess1m/ClearNear

Repository files navigation

ClearNear

Precision Entity Removal Tool for LSPDFR, Created by Guess1m

License Language RPH Status

ClearNear is a lightweight utility plugin for RagePluginHook. It allows for the precise deletion of vehicles and pedestrians using a camera-based raycast system. Designed to clear obstructed scenes or glitched entities quickly, ClearNear prevents accidental deletions by utilizing a visual confirmation system (bounding boxes) and a two-stage input requirement.

🔗 Official Links

✨ Key Features

  • Raycast Targeting: Uses the gameplay camera's direction to precisely select targets up to 200 meters away, rather than relying on player heading.
  • Visual Feedback:
    • Orange Sphere: Indicates the current raycast impact point.
    • Red Box: Highlights a valid target (Vehicle or Ped) currently under the crosshair.
    • Green Box: Indicates the target is "locked in" and awaiting deletion confirmation.
  • Safety First: Features a timeout system and specific key-press confirmation to ensure you never delete the wrong entity.
  • Smart State Management:
    • Auto-Disable: Can automatically turn itself off after a successful deletion to return you to gameplay seamlessly.
    • Auto-Select: Can immediately lock onto a target the moment the key is pressed if one is in view.

‼️ Basic Usage

Controls

  • Default Key: F3 (Configurable in ClearNear.ini)

Workflow

  1. Aim: Look at the vehicle or pedestrian you wish to remove using your game camera.
  2. Activate: Press the Enable Key.
    • If AutoSelectOnEnable is active: The tool will immediately lock onto the target if one is found.
    • If no target is found: The tool enters "Scanning Mode."
  3. Confirm:
    • Once a target is locked (highlighted in Green), the system waits for confirmation.
    • Press the Enable Key again to delete the entity.
    • If you do not press the key within the ConfirmationTimeout window (default 1.75s), the deletion is cancelled.

⚙️ Configuration

ClearNear is fully configurable via the generated .ini file found in Grand Theft Auto V/Plugins/ClearNear.ini.

Section Setting Description Default
Keybinding EnableKey The key used to initiate targeting and confirm deletion. Must be a valid System.Windows.Forms.Keys value. F3
Settings ConfirmationTimeout The grace period (in ms) the system waits for a second key press to finalize deletion. 1750
Settings DisableAfterDelete If True, the tool automatically disables itself after a successful deletion. True
Settings AutoSelectOnEnable If True, the tool attempts to select a target immediately upon enabling if a valid target is under the raycast. True

🛠️ Tech Stack

🚀 Installation

  1. Download the latest release.
  2. Extract the contents of the zip file.
  3. Copy ClearNear.dll (and ClearNear.ini if included) into your GTA V directory:
    Grand Theft Auto V/Plugins/
    
  4. Launch Game If needed, enable the plugin in RagePluginHook before launching, or run LoadPlugin ClearNear.dll in the console.

Disclaimer: This tool is a modification for Grand Theft Auto V and is not affiliated with Rockstar Games. Use responsibly; deleting essential game entities (like mission-critical NPCs) may cause instability in your session.

About

LSPDFR Plugin To Clear Nearby Entities Easily

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages