39.654
159
39.654
159
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.
Tải lên lần đầu: 18 Tháng chín, 2025
Cập nhật lần cuối: 13 hours ago
Last Downloaded: 10 seconds ago
All Versions
131 Bình luận
More mods by Chiheb-Bacha:
- Asi
5.0
9.973
121
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.
Tải lên lần đầu: 18 Tháng chín, 2025
Cập nhật lần cuối: 13 hours ago
Last Downloaded: 10 seconds ago

Already identified the possible culprit. Will release a new version asap.
@Chiheb-Bacha Thanks bro. 👍🏼
@ZaneL8ilence @CorpseGrinder The new version is out.
@Chiheb-Bacha I can confirm it works and the game launches without issues. Thanks again, man! You and Alexander Blade are the real MVPs!
@CorpseGrinder you're welcome, and thank you :)
@Chiheb-Bacha I am very grateful,Thank U Sir!
@ZaneL8ilence you're welcome :)
It crashes for me in a specific place on map if i have scripthookv.net installed. I tested it without and it works fine, I tried other versions but with no luck. Someone has a fix for this? Also i only have normal scripthook installed this and heap adjuster mods and thats it, any help would be appreciated.
@Piotryla Could you provide more information please: Are you on Legacy or Enhanced. Are you using SHVDNE or SHVDN. Which parts of the map does that happen on? Is is after completing a certain mission?
I've seen this issue : https://github.com/scripthookvdotnet/scripthookvdotnet/issues/1649 , but couldn't reproduce it on Enhanced, only on legacy when using the save file from the OP of the issue. I might have to test it out again using a fresh save file later today.
@Chiheb-Bacha Im on legacy version, i have this enhanced scripthookvdotnet installed, but it did also happen on normal scripthookvdotnet. Game crashes around garment factory when trying to go onto that bridge which leads to the city centre there is police station on the other end of the bridge. It happens on freeroam not on any particular mission. My save file is okay because i also tried driving through there on unmodded game and it was working fine. I hope thats enough information.
@Piotryla thanks for the info. The issue i linked also experiences a crash around the garment factory. I will look for a solution, but this might be tricky, as the problem was introduced with the last update, and is only present on legacy. I'll let you know if a solution is found.
@Chiheb-Bacha Okay thanks, also i was playing now and it also happens in paleto bay around the los santos customs, anyway thanks again. I will try to avoid these places.
The issue seems to be related to LS customs, as going near any LS customs on the map causes the game to crash if SHVDN or SHVDNE are installed. This only affects Legacy on the latest update, and is also present on SHVDN. I have received reports from users who are not facing this issue, which makes it even trickier to figure out. An issue has been already opened on the SHVDN repo, so more people will be looking into it soon.
My preliminary "guess" is that the game is trying to do something on Legacy that can't be done, resulting in an internal Exception being thrown, caught and ignored, but with the presence of shvdn/e, this error causes a crash, since shvdn/e doesn't handle exceptions thrown by other modules well and crashes as a result.
When i find the time, i will investigate this further, mainly looking at the shop_controller script to see what changed, and if something is being loaded that shouldn't be. if that turns out to be the case, patching the script might fix this issue.
@Chiheb-Bacha The crash near LS Customs is happening to me on Enhanced on the latest update. I had to remove the asi file to go anywhere near a LS Customs. Guessing we need to wait for SHVDN to be fixed first before this is fixed for Enhanced? Thanks for this!
@6thony At least on my end i can't reproduce the crash on Enhanced. This seems very strange at the moment. Something broke with the last update and it's unclear how to approach this to find a fix tbh. I'll update here whenever a solution is found.
@Chiheb-Bacha Yeah I was able to recreate it again with the LS Customs by the airport, I'd crash as soon as I got close to it. Seems to happen randomly.
@6thony I might already have a fix for Enhanced. It fixed the crashes on my end (LSC locations on the top of the map), but now their garage doors won't open anymore. I will release a small fix on my discord just for testing soon, untill i can figure out where to best integrate it and if it completely fixes the issue. If it does, I'll release it on 5mods so shvdn can use it too.
@Chiheb-Bacha Your Discord invite link seems to be invalid on your profile just as a heads up!
@6thony Thanks, just changed it (even tho i changed it last time, not sure what happened). This one shouldn't expire.
@6thony @Piotryla Please try out the latest version, it should fix the issue. If you use Menyoo, you might still experience crashes, so wait for it to get updated.