TwoPlayerMod [.NET] - Crash Fix v1.1
=====================================

Fixes the crash that aborts benjamin94's TwoPlayerMod [.NET] on the current
ScriptHookVDotNet. The mod was built for the old SHVDN2 API; a removed API call
(GTA.UI.WorldToScreen) threw every time the second player aimed, which killed the
whole script. This drop-in fix keeps the mod alive.

WHAT IT FIXES
- Crash / script abort when the second player aims or enters combat
  (System.MissingMethodException: GTA.UI.WorldToScreen).
- Loading-screen and settings-menu crashes from the same dead-API cause.
- Co-op (movement, targeting, shooting, vehicles, the menu) keeps working.
  Note: the player-2 floating health bar uses the removed API, so it does not
  draw - everything else is intact.

INSTALL
1. Install the original TwoPlayerMod [.NET] by benjamin94 as normal
   (TwoPlayerMod.dll, NativeUI.dll, the SharpDX DLLs, ScriptHookV, SHVDN).
2. Drop TwoPlayerMod_CrashFix.dll AND 0Harmony.dll into your GTA V /scripts
   folder, next to TwoPlayerMod.dll. Leave the original untouched.
3. Full game restart.

You will see "TwoPlayerMod Crash Fix v1.1 loaded" when it is active.

REQUIRES
- ScriptHookV + ScriptHookVDotNet (nightly / current).
- The original TwoPlayerMod [.NET] by benjamin94:
  https://www.gta5-mods.com/scripts/twoplayermod-net

Unofficial community crash-fix. All credit for the original mod goes to
benjamin94. Single player only. Never use in GTA Online. Not for FiveM.

More fixes + the OnTheBlock community: discord.gg/wGFnJtR82D