PoliceMenu V - Crash Fix v1.1
==============================

A tiny drop-in fix for Abel Software's PoliceMenu V that stops it from crashing
on the current ScriptHookVDotNet. The original mod is left completely untouched.

WHAT IT FIXES
- Spawning a vehicle from the menu no longer crashes / freezes the menu. On the
  current build the game sometimes hasn't streamed the vehicle model in yet, so
  the mod's spawn code hits a null vehicle and throws - which killed the whole
  script and left the menu unable to reopen. Now the script stays alive; if a
  spawn ever misses, just pick it again.
- The Quick Repair / Quick Wash / Siren Toggle hotkeys no longer crash when
  you're on foot (they used to throw a NullReferenceException with no vehicle).

HOW IT WORKS
A small Harmony runtime patch wraps every PoliceMenu V handler in a safety net
that swallows the bad-frame exception and keeps the script running, instead of
letting it abort. No gameplay logic is changed on the normal path. When a crash
is caught you'll get a brief on-screen notification so you know it's working.

REQUIREMENTS
- Script Hook V
- ScriptHookVDotNet (nightly recommended)
- The original PoliceMenu V installed (it needs NativeUI + its own files)

INSTALL
1. Install the original PoliceMenu V as usual.
2. Drop PoliceMenuV_CrashFix.dll and 0Harmony.dll into your GTA V /scripts folder,
   next to the original PoliceMenuV.dll (leave PoliceMenuV.dll untouched).
3. Full game restart.

CREDITS
Original mod: https://www.gta5-mods.com/scripts/policemenu-v by Abel Software.
Crash Fix by chris22622.

Single-player only. Never use in GTA Online.
