![]() This ASI plugin allows you to run ingame GTAIV scripts written in any. Here's the full C++/CLI sourcecode of the GTAIV. Thanks to Zolika1351 for fixing ScriptHookHook for EFLC and providing offsets for the latest version of GTA IV and EFLC.Īll credits go to Hazard ( / /HazardX) as author of the original GTAIV. There is already so much powerful stuff to play with.Based on the GTAIV C++ Script Hook from AruĬlasses Vector2, Vector3, Vector4, Quaternion and Matrix based on sourcecode from SlimDX Vehicle vehicle = World.CreateVehicle(VehicleHash.Zentorno, + * 3.0f, + 90) Private void OnKeyUp(object sender, KeyEventArgs e) Private void OnKeyDown(object sender, KeyEventArgs e) Private void OnTick(object sender, EventArgs e) Note: This script is against SHVDN v3 API. Code exampleīelow you can find a basic sample mod that creates a vehicle in front of the own character perfectly heading 90° to the character to get on the car like a sir when pressing Numpad1. You may also want to set up a post build event in Visual Studio to copy the compiled DLL to your scripts folder automatically. And press Insert to load the new script dll.Copy the DLL file into the scripts folder in your GTA V directory.Alt-tab back to your development environment (Visual Studio).To avoid needing to constantly stop and start GTA V, you can use the script reloader in the ScriptHookVDotNet. Those 3 events provides the basic work area you can perfectly work with. Basic KnowledgeĮvery mod/script you write must inherit from the Script class. Hint: ScriptHookVDotNet supports compiled assemblies as well as C# or VB source files which all have to be placed into the scripts folder in your GTA V directory. Create a scripts folder in your GTA V directory (if not already happened).Copy ScriptHookVDotNet.asi and ScriptHookVDotNet2/3.dll to your GTA V directory.Download the latest GitHub revision and compile it using Microsoft Visual Studio.Before you can start playing with ScriptHookVDotNet you need some prerequisites: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |