Community Script Hook V .NET is an ASI plugin, which allows running scripts written in any .NET language ingame. It’s full source code is hosted on Github (Changelog). Development is community-driven and open to everybody, so contributions are warmly welcomed.
Press the “Insert” key to reload scripts. This key can be changed in the accompanying INI file.
Developers can use the NuGet package available at nuget.org.
Installation
Install both the Microsoft .NET Framework 4.5.2 (or higher, so skip this on Windows 10) and the Microsoft Visual C++ Redistributable Package for Visual Studio 2013 (x64).
Download and install the latest Script Hook V.
Download Community Script Hook V .NET and copy both the ScriptHookVDotNet.asi and ScriptHookVDotNet2.dll files into your game directory.
Changelog v3.0.3
Fixed missing multiply operator in quaternion class for v2 API
Fixed IsPersistent and MarkAsNoLongerNeeded() using the wrong natives
Updated GameVersion enum to contain newer versions
Credits:
crosire & contributors
Please make this compatible for v1.0.2060.0 🥺
I think the Parameter Ped.VehicleDrivingFlags with the type (Enum)VehicleDrivingFlags is not implemented well. It should be an long because it is representing bitflags. How should I combine VehicleDrivingFlags.IgnorePathFinding
with VehicleDrivingFlags.StopAtDestination by using an Enum?