This ASI plugin for the just released Script Hook V attempts to recreate this experience for GTAV. It's full source code is hosted on Github, development is community-driven and open to everybody, so contributions are warmly welcomed.
Right now it's able to load, compile and run .NET scripts and reload them while the game is running (press the "Insert" key). Scripts are executed in a separate AppDomain, any exceptions thrown thus shouldn't affect the game or ScriptHook.
The associated .NET scripting API is still in very early stages (kept close to the one from the GTAIV .NET ScriptHook, to simplify conversion) though, so you currently have to call some native functions manually through "GTA.Native.Function.Call".
Thanks a lot to Alexander Blade for Script Hook V and HazardX for the inspiration with his GTAIV .NET ScriptHook.
- Make sure you have both the Microsoft .NET Framework 4.5 and the Microsoft Visual C++ Redistributable Package for Visual Studio 2013 (x64) installed (or loading will fail).
- Download and install Script Hook V (including the ASI loader).
- Download ScriptHookV .NET and copy the ASI into your game folder.
- Create (or download) a C#/VisualBasic code file (.cs, .vb) or compiled .NET assembly (.dll) inside a "/scripts/" subfolder in your game directory and start scripting!