105.956
249
105.956
249
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)
- GTA5 Enhanced users are encouraged to download DirectStorageFix.
Changelog
v1.1.0.4
Issues addressed in this release:
- This release fixes a faulty offset introduced in v1.1.0.3 which caused GTA5 Legacy in particular to crash if World.GetAllBlips is called.
v1.1.0.3
Issues addressed in this release:
- Fixed memory patterns, which broke on the newest version of GTA5 Legacy (1.0.3788.0) and Enhanced (1.0.1013.33), causing scripts to crash when accessing certain pools and other memory-related functionality.
New features:
v3 API additions:
- Added GTA.Hud.IsBigMapActive and GTA.Hud.SetBigMapActive.
- Ensured API compatibility with SHVDN.
- Added MiniMapComponentData to allow the modification of the minimap (position, size, alignment, etc.) at runtime.
- Added Game.ToggleSteeringAutoCenteringWhenExitingVehicle and Game.IsSteeringAutoCenteringWhenExitingVehicleActive to allow disabling/enabling wheel-auto-centering upon exiting vehicles.
Core :
- Added a bypass to allow Orbital Cannon Explosions in single player using World.AddExplosion.
- Added the underlying functionality for MiniMap-related features and the steering auto-centering patch.
- Setting the language using Game.Language now updates the language immediately without the need to open then close the pause menu
Note:
- pdb files are included starting with this release, which are irrelevant for players, but could be used for debugging purposes
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.
Først uploadet: 18. september 2025
Sidst opdateret: 19. marts 2026
Last Downloaded: 20 seconds ago
All Versions
228 Kommentarer
More mods by Chiheb-Bacha:
- Asi
5.0
36.112
191
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)
- GTA5 Enhanced users are encouraged to download DirectStorageFix.
Changelog
v1.1.0.4
Issues addressed in this release:
- This release fixes a faulty offset introduced in v1.1.0.3 which caused GTA5 Legacy in particular to crash if World.GetAllBlips is called.
v1.1.0.3
Issues addressed in this release:
- Fixed memory patterns, which broke on the newest version of GTA5 Legacy (1.0.3788.0) and Enhanced (1.0.1013.33), causing scripts to crash when accessing certain pools and other memory-related functionality.
New features:
v3 API additions:
- Added GTA.Hud.IsBigMapActive and GTA.Hud.SetBigMapActive.
- Ensured API compatibility with SHVDN.
- Added MiniMapComponentData to allow the modification of the minimap (position, size, alignment, etc.) at runtime.
- Added Game.ToggleSteeringAutoCenteringWhenExitingVehicle and Game.IsSteeringAutoCenteringWhenExitingVehicleActive to allow disabling/enabling wheel-auto-centering upon exiting vehicles.
Core :
- Added a bypass to allow Orbital Cannon Explosions in single player using World.AddExplosion.
- Added the underlying functionality for MiniMap-related features and the steering auto-centering patch.
- Setting the language using Game.Language now updates the language immediately without the need to open then close the pause menu
Note:
- pdb files are included starting with this release, which are irrelevant for players, but could be used for debugging purposes
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.
Først uploadet: 18. september 2025
Sidst opdateret: 19. marts 2026
Last Downloaded: 20 seconds ago

@Chiheb-Bacha I installed this mod and updated Menyoo. I have everything required and all my other mods are up to date. I am still crashing near LS customs tho, and near vangelico for some reason. Checked all my mods and i couldn't figure out a cause. Also read most threads about other people experiencing the same thing and nothing worked. I see you have encountered this issue before so i wanted to ask for any advice or suggestions because i am losing my marbles trying to find what is crashing my game. Thanks in advance.
@val07 The latest versions of both SHVDNE and Menyoo shouldn't cause any more issues. If you still experience crashes with only them installed, then that's definitely weird. I will try to go near Vangelico and see if I crash, and try to debug it and fix the issue. But I can only find it and fix it if I can reproduce it. I'll let you know.
@Chiheb-Bacha Well i don't think i actually clarified enough, sorry. I do have a bunch of other mods aswell but my point is that they aren't really connected to ls customs or vangelico. And i do also have NVE, which could be it, i would have to test more aswell. That said removing my mods folder does fix the issue. I was just wondering if you know of any other mods that cause it or that could help. Sorry again if i kinda wasted your time here. Thanks for taking the time to respond anyway.
@val07 ahh its all good np. If removing the mods folder fixes it, it's probaby one of your addons and not a script. The other crash was related to the game trying to access uninitialized online stuff due to a patch by shvdn/e and menyoo, not sure any other script or mod would cause that tbh. Your best bet would be to remove mods one by one to find which one is causing the issue, then contact its author.
@Chiheb-Bacha Does Script Hook V .NET Enhanced support both the Legacy and Enhanced versions? When you mention 'Legacy,' are you referring only to the last stable build or all previous versions? Specifically, is it compatible with versions 1.0.3028.0 and 1.0.3095.0?
@Chiheb-Bacha Well i fixed the issue for now atleast by reinstalling NVE. I still don't know what the cause was tho. So for anyone with the same issue i hope this helps. Great resurrection of a very needed mod btw
@Jhbnk yes it does support both legacy and enhanced. As of legacy, it's always guaranteed to support the latest build, and it should also support older versions (you could look at the log and let me know if there are any patterns not found).
@val07 great to hear that, and thank you :)
@Chiheb-Bacha I have a question regarding the Xtreme Tool. Does it fully replace the need for standalone plugins like HeapAdjuster and Resource Adjuster, or is it still recommended to use them together?
Specifically, if I continue to use HeapAdjuster, should I rename it to zHeapAdjuster to ensure it loads last in the ASI priority? I want to make sure there are no conflicts and that the memory allocation is handled correctly for a heavily modded setup.
Thanks for your help!
@Jhbnk I'm not the author of Xtreme Tool, so I'm not really sure what it does exactly. If you still want to customize the heap size, you should do as you said and rename HeapAdjuster so that it loads last. Not sure if it's case sensitive or not, so try naming it ZHeapAdjuster. As for conflicts, there shouldn't be any, HeapAdjuster is not really intrusive, it just modifies 1 value.
@Chiheb-Bacha Ill get one and send it to you
Hey everyone. It seems multiple patterns can't be found on the newest game build (1.0.1013.33 Enhanced, 1.0.3788.0 Legacy); 3 on Enhanced and 9 on Legacy to be exact. I started working to update SHVDNE about 90 minutes ago and I should be done soon.
Hey everyone. 1.1.0.3 is out and it adds support to the latest game build (1.0.3788.0 and 1.0.1013.33). It also adds new functionality, which you can read about in the description. Have a great day :)
Hey everyone. If you downloaded 1.1.0.3 a couple of hours ago, please download 1.1.0.4 instead, as 1.1.0.3 introduced a bug that causes the game to crash if World.GetAllBlips is called in Legacy. This should now be fixed.
help me
@PolarBear456 Please send more details.
Hi, thanks for your work on ScriptHookVDotNet Enhanced!
I’m having issues with older API v2 scripts (like Mission Maker) on the latest GTA V version.
Scripts load and start, but then:
-missions get stuck loading
-sometimes white screen / visual glitches
-“object reference not set” errors
ASI mods work fine, so it seems related to v2 compatibility.
Is there any way to improve API v2 support?
Or a recommended setup/version for older mods?
Mission Maker is essential for me, so any help would be really appreciated.
Thanks!
@xxxMRXxxx hey. v2 is actually still supported, just not actively-developed. Meaning that old scripts using v2 should still work, as long as they don't use their own patterns (because they will likely change after such a long time, and they're not valid for Enhanced). As for the issues you're facing, it would be helpful to narrow down the cause by gradually eliminating scripts until the issues disappear.
Game was running fine some weeks ago, some GTA update happened or something, getting the critical error that that says I need a updated version of script hook but I've downloaded the new update for script hook and replaced it, still the same exact error. I have NVE, Basic Trainer, and a traffic mod.
Going to have to reinstall the whole game and start from scratch, is this just gonna happen again?
@GoldenGarden95 Hey. Yes the update broke a lot of mods. If you already have the latest SHV, SHVDNE, whichever trainer you have, the problem is likely NVE, as I believe they are yet to update it. So simply remove NVE.asi for now. Reinstalling the game won't really help.