ScriptHookVDotNet is an ASI plugin that allows you to run custom scripts written in .NET (C#, VB.NET and F#) directly in GTA 5. Development is community driven and the open source project is available on GitHub. NuGet package support is also implemented for the convenience of developers.
Features:
Support for .NET scripts of any complexity;
Compatible with C#, VB.NET, F#;
Open source code and changelog on GitHub;
Opportunity to participate in development;
Regular updates and patches.
Requirements:
.NET Framework 4.8 or newer (Windows 10 already has it installed);
Microsoft Visual C++ Redistributable for Visual Studio 2019 (x64);
Script Hook V (current version).
Installation:
Install the required dependencies (.NET and C++ Redistributable);
Download and install Script Hook V;
Unpack the contents of the ScriptHookVDotNet archive (everything except the Docs folder) into the root folder of GTA 5;
Done — you can run .NET scripts from the scripts/ folder .
Note:
Scripts must have a .dll extension and be placed in the scripts folder in the game directory.