Description:
Script hook is the library that allows to use GTA V script native functions in custom *.asi plugins.
Installation:
1. Copy ScriptHookV.dll to the game's main folder, i.e. where GTA5.exe is located.
2. In order to load asi plugins you need to have asi loader installed, you can download it separately or use the latest version that comes with this distrib (dinput8.dll). You must delete previous asi loader (dsound.dll) before using new one.
3. This distrib also includes a sample asi plugin - native trainer, if you need the trainer then copy NativeTrainer.asi as well.
Multiplayer:
Script hook closes the game when player goes Online, this is done because the game reports installed mods list to R* while being in Online mode.
Supported game versions:
1.0.335.2, 1.0.350.1/2
Troubleshooting:
Troubleshoot 1
- if you use 3dm then 3dm is the issue , this is it .
- if you have the crash on the loading screens make sure that you have the latest ScriptHookV version (v1.0.350.2a) .
- if you have any other asi mods installed then delete them all and test again , if this is the issue then try to find out which of asi is causing this and write about it in this topic .
- if you can't activate the trainer (i.e. F4 isn't working) check if you have asiloader.log and ScriptHookV.log in the game's dir , if you do then try FN + F4 , multimedia and notebook keyboards can cause this .
- if you can activate the trainer but you can't navigate in menu (numkeys do nothing) make sure that you have NUMLOCK ON , if you really do then probably you have Mouse Keys Windows feature activated , go to Desctop and press LEFT-ALT + LEFT-SHIFT + NUMLOCK to turn off mouse keys , now navigation should work .
- make sure that you have copied everything correctly , i.e. ScriptHookV.dll , dinput8.dll and NativeTrainer.asi are located in the same folder with GTA5.exe .
- if you have another issues which are not resolved after trying everything written above then you need to write about it in this topic describing:
1. what exactly isn't working
2. what Windows version do you have
3. what game version do you have (look into the GTA5.exe properties)
4. provide contents of your asiloader.log and ScriptHookV.log which should be located in the same dir as GTA5.exe