53 044
188
53 044
188
Script Hook V .NET Enhanced is an ASI plugin, which allows running scripts written in any .NET language ingame.
It extends SHVDN, allowing mods to run on GTA5 Legacy and Enhanced at the same time.
Its full source code is hosted on GitHub (Changelog).
Have any questions, suggestions, or would like to be up-to-date on my latest projects, then join my Discord!
Installation
Changelog
It extends SHVDN, allowing mods to run on GTA5 Legacy and Enhanced at the same time.
Its full source code is hosted on GitHub (Changelog).
Have any questions, suggestions, or would like to be up-to-date on my latest projects, then join my Discord!
Installation
- Install both the Microsoft .NET Framework 4.8 (or higher, so skip this on Windows 10) and the Microsoft Visual C++ Redistributable Package for Visual Studio 2019 (x64).
- Download and install the latest Script Hook V.
- Download Script Hook V .NET Enhanced and copy the following files into your game directory:
- ScriptHookVDotNet.asi
- ScriptHookVDotNet2.dll
- ScriptHookVDotNet3.dll
- ScriptHookVDotNet.ini
MinHook.x64.dll (required starting from v1.1.0.0)
Changelog
v1.1.0.2
Issues addressed in this release:
- Fixed a crash that occurs randomly near some LS Customs locations after the last update 1.0.3717.0 / 1.0.1013.17. The bug was discovered by myself and alloc8or, who helped confirm its cause.
v1.1.0.1
Issues addressed in this release:
- Fixed an insta crash upon load on the newest Gta5 Enhanced version (1.0.1013.17), which was caused by a change in the function from which we fetch the CameraPool pointer.
- Added the new drift car hashes to DriftCarHash
v1.1.0.0
Issues addressed in this release:
- Updated the pattern for enabling MP cars in SP on Legacy builds prior to 46.
- Fixed homing missiles not redirecting when their Target was changed.
- Additional minor fixes and stability improvements.
New features:
v3 API additions:
- Added Enum DriftCarHash: contains 20 drift-car model hashes.
- Added CAIHandlingInfo, CAICurvePoint, and AIHandlingHash (AI driving behavior & handling editing).
- Added AdvancedFlags to CarHandlingData (see CarAdvancedFlags).
HandlingData improvements:
- Added ModelFlags, HandlingFlags, and DamageFlags.
- Added CAIHandlingInfo and CAIHandlingHash (values retrievable via CAIHandlingInfo.GetByHash).
- Added SpecialFlightHandlingData, including a new Flags attribute (see SpecialFlightHandlingFlags).
Game API additions:
- Game.Language can now be set from scripts.
Some languages require a restart; most take effect by opening → closing → opening the pause menu. - Added SetLocalizedString — replaces the text for a given gxt2 hash.
Use with caution; modifying critical labels may crash the game. - Added custom GXT entry management:
- AddCustomGxtEntry
- UpdateCustomGxtEntry
- GetCustomGxtEntry
- RemoveCustomGxtEntry
- Game.Language can now be set from scripts.
Vehicle API additions:
- IsSpecialFlightModeActivated, ActivateSpecialFlightMode, DeactivateSpecialFlightMode
→ enables Oppressor Mk II–style flight on (almost) any vehicle. - IsDriftModeActivated, ActivateDriftMode, DeactivateDriftMode
→ apply drift-car handling to any Automobile. - IsModelHandlingCompatibleWithVehicleModel — checks handling compatibility between two vehicle models.
- EngineTorqueMultiplier now has a getter (patched via memory scanning).
- PatchEngineTorqueMultiplierUpdate stops the game from resetting torque to 1.0.
- IsSpecialFlightModeActivated, ActivateSpecialFlightMode, DeactivateSpecialFlightMode
Core (Internal):
- New internal Hooking system supporting both CallHooks and MinHook.
- Automatic cleanup of allocated hook pages upon domain unload.
- Improvements to MemScanner and MemDataMarshall.
- Full compatibility with SHVDN API additions from 24.08.2025 → 16.11.2025
(except commit 124a59d, to be included in the next release).
- More features and improvements are currently being worked on — stay tuned.
- Please report any bugs, crashes, or unexpected behavior.
v1.0.0.2-beta
Issues addressed in this release:
- Fixed a dynamically fetched offset, which would cause a System.OutOfMemoryException if Weapon.Components was called on many weapons and stored in a list, crashing the game. This was observed in Belle's Diamond Casino Heist.
- Fixed a memory pattern, which mistakenly fetched a negative offset, causing the game to crash when accessed. This was observed in Dual Wield - Reboot.
- Fixed the reload hotkey handler, which used to treat any keyboard press as the reloadKeyBinding after the initial press, causing SHVDNE to reload scripts with every key press and lag the game.
New features:
- Added UseMpSelectionWheels(bool) — enables the GTA:Online selection wheels (weapon and radio wheels), without slow-motion, vignetting, or sound effect, if the parameter is true, and reverts back to the Singleplayer wheels if false.
- Added IsUsingMpSelectionWheels — returns whether the GTA:Online selection wheels are currently being used.
- More features and improvements are currently being worked on — stay tuned.
v1.0.0.1-beta
Issues addressed in this release:
- Fixed NativeMemory.GetPtfxAddress, which used to return the wrong address and caused the game to crash.
- Bumped the Major of the Version returned by FileVersion by 1, in order to distinguish from Legacy versions.
- Resolved incompatibilities with Simple Trainer for GTA V (TrainerV) in coordination with sjaak327 — these should no longer occur as of its latest version: 17.5.
- Confirmed compatibility with an unreleased version of Enable All Interiors (EAI). Simply wait for HKH191 to release it.
New features:
- Added Game.FindPatternInScript — allows searching for a pattern within a game script.
- Added Game.GetScriptGlobalFromAddress — returns the index of a script global from an address within a game script.
Improvements:
- Replaced some hardcoded offsets and found better patterns related to patching model spawning checks, improving robustness.
- More features and improvements are currently being worked on — stay tuned.
v1.0.0.0-beta
- Initial beta release of ScriptHookVDotNet Enhanced 🎉
- Covers the full SHVDN API, but further testing is still needed.
- Added World.GetAllPickupObjectPlacements() — returns all Pickup Placements on the map.
Dodano: wrzesień 18, 2025
Ostatnia aktualizacja: grudzień 17, 2025
Last Downloaded: 3 minuty temu
All Versions
172 Komentarzy
More mods by Chiheb-Bacha:
- Asi
5.0
14 649
140
1.0.0.1
By Chiheb-Bacha
Script Hook V .NET Enhanced is an ASI plugin, which allows running scripts written in any .NET language ingame.
It extends SHVDN, allowing mods to run on GTA5 Legacy and Enhanced at the same time.
Its full source code is hosted on GitHub (Changelog).
Have any questions, suggestions, or would like to be up-to-date on my latest projects, then join my Discord!
Installation
Changelog
It extends SHVDN, allowing mods to run on GTA5 Legacy and Enhanced at the same time.
Its full source code is hosted on GitHub (Changelog).
Have any questions, suggestions, or would like to be up-to-date on my latest projects, then join my Discord!
Installation
- Install both the Microsoft .NET Framework 4.8 (or higher, so skip this on Windows 10) and the Microsoft Visual C++ Redistributable Package for Visual Studio 2019 (x64).
- Download and install the latest Script Hook V.
- Download Script Hook V .NET Enhanced and copy the following files into your game directory:
- ScriptHookVDotNet.asi
- ScriptHookVDotNet2.dll
- ScriptHookVDotNet3.dll
- ScriptHookVDotNet.ini
MinHook.x64.dll (required starting from v1.1.0.0)
Changelog
v1.1.0.2
Issues addressed in this release:
- Fixed a crash that occurs randomly near some LS Customs locations after the last update 1.0.3717.0 / 1.0.1013.17. The bug was discovered by myself and alloc8or, who helped confirm its cause.
v1.1.0.1
Issues addressed in this release:
- Fixed an insta crash upon load on the newest Gta5 Enhanced version (1.0.1013.17), which was caused by a change in the function from which we fetch the CameraPool pointer.
- Added the new drift car hashes to DriftCarHash
v1.1.0.0
Issues addressed in this release:
- Updated the pattern for enabling MP cars in SP on Legacy builds prior to 46.
- Fixed homing missiles not redirecting when their Target was changed.
- Additional minor fixes and stability improvements.
New features:
v3 API additions:
- Added Enum DriftCarHash: contains 20 drift-car model hashes.
- Added CAIHandlingInfo, CAICurvePoint, and AIHandlingHash (AI driving behavior & handling editing).
- Added AdvancedFlags to CarHandlingData (see CarAdvancedFlags).
HandlingData improvements:
- Added ModelFlags, HandlingFlags, and DamageFlags.
- Added CAIHandlingInfo and CAIHandlingHash (values retrievable via CAIHandlingInfo.GetByHash).
- Added SpecialFlightHandlingData, including a new Flags attribute (see SpecialFlightHandlingFlags).
Game API additions:
- Game.Language can now be set from scripts.
Some languages require a restart; most take effect by opening → closing → opening the pause menu. - Added SetLocalizedString — replaces the text for a given gxt2 hash.
Use with caution; modifying critical labels may crash the game. - Added custom GXT entry management:
- AddCustomGxtEntry
- UpdateCustomGxtEntry
- GetCustomGxtEntry
- RemoveCustomGxtEntry
- Game.Language can now be set from scripts.
Vehicle API additions:
- IsSpecialFlightModeActivated, ActivateSpecialFlightMode, DeactivateSpecialFlightMode
→ enables Oppressor Mk II–style flight on (almost) any vehicle. - IsDriftModeActivated, ActivateDriftMode, DeactivateDriftMode
→ apply drift-car handling to any Automobile. - IsModelHandlingCompatibleWithVehicleModel — checks handling compatibility between two vehicle models.
- EngineTorqueMultiplier now has a getter (patched via memory scanning).
- PatchEngineTorqueMultiplierUpdate stops the game from resetting torque to 1.0.
- IsSpecialFlightModeActivated, ActivateSpecialFlightMode, DeactivateSpecialFlightMode
Core (Internal):
- New internal Hooking system supporting both CallHooks and MinHook.
- Automatic cleanup of allocated hook pages upon domain unload.
- Improvements to MemScanner and MemDataMarshall.
- Full compatibility with SHVDN API additions from 24.08.2025 → 16.11.2025
(except commit 124a59d, to be included in the next release).
- More features and improvements are currently being worked on — stay tuned.
- Please report any bugs, crashes, or unexpected behavior.
v1.0.0.2-beta
Issues addressed in this release:
- Fixed a dynamically fetched offset, which would cause a System.OutOfMemoryException if Weapon.Components was called on many weapons and stored in a list, crashing the game. This was observed in Belle's Diamond Casino Heist.
- Fixed a memory pattern, which mistakenly fetched a negative offset, causing the game to crash when accessed. This was observed in Dual Wield - Reboot.
- Fixed the reload hotkey handler, which used to treat any keyboard press as the reloadKeyBinding after the initial press, causing SHVDNE to reload scripts with every key press and lag the game.
New features:
- Added UseMpSelectionWheels(bool) — enables the GTA:Online selection wheels (weapon and radio wheels), without slow-motion, vignetting, or sound effect, if the parameter is true, and reverts back to the Singleplayer wheels if false.
- Added IsUsingMpSelectionWheels — returns whether the GTA:Online selection wheels are currently being used.
- More features and improvements are currently being worked on — stay tuned.
v1.0.0.1-beta
Issues addressed in this release:
- Fixed NativeMemory.GetPtfxAddress, which used to return the wrong address and caused the game to crash.
- Bumped the Major of the Version returned by FileVersion by 1, in order to distinguish from Legacy versions.
- Resolved incompatibilities with Simple Trainer for GTA V (TrainerV) in coordination with sjaak327 — these should no longer occur as of its latest version: 17.5.
- Confirmed compatibility with an unreleased version of Enable All Interiors (EAI). Simply wait for HKH191 to release it.
New features:
- Added Game.FindPatternInScript — allows searching for a pattern within a game script.
- Added Game.GetScriptGlobalFromAddress — returns the index of a script global from an address within a game script.
Improvements:
- Replaced some hardcoded offsets and found better patterns related to patching model spawning checks, improving robustness.
- More features and improvements are currently being worked on — stay tuned.
v1.0.0.0-beta
- Initial beta release of ScriptHookVDotNet Enhanced 🎉
- Covers the full SHVDN API, but further testing is still needed.
- Added World.GetAllPickupObjectPlacements() — returns all Pickup Placements on the map.
Dodano: wrzesień 18, 2025
Ostatnia aktualizacja: grudzień 17, 2025
Last Downloaded: 3 minuty temu

ifruitaddon 2 hasnt been working on enhanced for latest update i keep getting error
@Chiheb-Bacha thanks for your wonderful efforts on this project!! Most of the legacy mods appear to work just fine. i do have a question though, I just recently had to update a lockpicking mod and mostly due to the usage of Control.LookUp vs Control.LookUpDown. Do you know if thats a change in SHVDN or the game itself? There was a couple game updates too that occurred.
@PDQEman I could look into it, but this could be related to the shifted controls, and if that's the case, I need to wait before implementing a fix because Alexander Blade said he is working on an SHV-side fix which would result in a double shift if I implement a fix too, as well as having to have the same fix as SHVDN to ensure future compatibility.
@dimedius Thank you, and honestly i'm not sure. The game has added controls to the middle of the Controls enum, and it could be the case that the controls your mod uses shifted as a result. I can say that I haven't changed anything in SHVDNE when it comes to the controls. As i mentioned in the comment above, i need to wait for AB to fix it, as he confirmed that to be in the plans. If i were to just implement a fix for shvdne, the moment AB fixes it, i would have to revert the changes and that would be bad, especially if i add the new controls to the SHVDNE Controls enum.
@chiheb-bacha Not sure if you’re able to but there’s a script mod that no langer works but that was very popular. The script removed the jitter from vehicles when driving fast. Would you be able to make version for enhanced? Probably a piece of cake for you, impossible for me ;)
@Enzo95 I looked it up, and saw that there is a newer version that works with shvdn v3. Maybe that would work with Enhanced?
does this works on legacy to or only enhanced?
Nice thanks! I tried that one but no luck.. I will mess around with it :)
@ascended2zero this works on both :)
@Enzo95 I would've looked more into this for you, but i'm staying away from modding for some time, as I need to study for exams.
@Chiheb-Bacha thank u soo much, does the other plugins u have also work on both legacy and enhanced?
@ascended2zero yes
@Chiheb-Bacha alr thank u
@ascended2zero you're welcome :)
@Chiheb-Bacha after update i have put everything there and still i am not able to run any script on Enhanced edition weird...
@NaughtyBoy that's weird. It seems to work for everyone else. Could you send your logs in discord?
@Chiheb-Bacha it doesn't even create logs, i installed latest Scripthook v and your scripthook v net enhanced but weird neither "mods" or "scripts" ain't running.
@NaughtyBoy does asiloader.log get created? If not, you could be missing xinput1_4.dll
@NaughtyBoy But i assume you would already know that, since you seem to have modded the game before the update. Quite weird issue tbh 😅. Just to be sure: BattleEye is disabled? Game folder permissions aren't read-only? Xinput1_4.dll is installed? Does asiloader create a log? Does ScriptHookV create a log? Last thing, install the DirectStorageFix from alloc8or, and let me know if it fixes it for you.
@Chiheb-Bacha Oops.. it was xinput1_4.dll lol i didn't saw that btw thanks