by Hazard, arinc9 and Zolika1351
based on the GTAIV C++ Script Hook from Aru
Classes Vector2, Vector3, Vector4, Quaternion and Matrix based on sourcecode from SlimDX
Thanks to Zolika1351 for fixing ScriptHookHook for EFLC and providing offsets for the latest version of GTA IV and EFLC.
All credits go to Hazard (hazard_x@gmx.net / twitter.com/HazardX) as author of the original GTAIV .Net Script Hook.
- DOWNLOAD the GTAIV .Net Script Hook for GTA IV
- DOWNLOAD the GTAIV .Net Script Hook for EFLC
Here's the full C++/CLI sourcecode of the GTAIV .Net Script Hook with the latest changes.
Max. supported game versions
GTA IV 1.0.8.0
EFLC 1.1.3.0
Description
This ASI plugin allows you to run ingame GTAIV scripts written in any .Net language. Those languages are easy to learn and use, while they are still extremely powerful.
One noteable aspect of this hook is, that the scripting functions are organized in a .Net-typical class structure, which makes finding functions intuitive and easy.
And since you are able to develop scripts with Visual Studio, you'll get all benefits like code highlighting and IntelliSense.
You need an AsiLoader to use this plugin in GTAIV. See the Requirements section below for more info.
Special thanks to Aru for his help and for his C++ Script Hook. This plugin wouldn't be possible without it.
Changelog
Version 1.7.1.8 BETA:
- Added support for GTA IV version 1.0.8.0 and EFLC version 1.1.3.0
Compiling and Developing ScriptHookDotNet
For developers who'd like to work on ScriptHookDotNet, you can follow these steps below to create your own virtual developing environment.
- Install Windows 7 on VirtualBox
- Get DirectX March 2008 SDK
- Get Visual Studio 2010 Professional (You need to login to download the web installer.)
- Get Microsoft Windows SDK for Windows 7 and .NET Framework 4
- Set up a system variable in virtual machine named "DXSDK_2008-03" containing the full path to the installation folder of the SDK. Make sure to include a final backslash ( \ ) at the end of the path.