Copy ScriptHookV.dll to the games main folder, i.e. The -save flag indicates that module record will be removed from package.json.
Lets uninstall react-bootstrap from the project by running: 1 npm uninstall -save react-bootstrap.
This distrib also includes the latest Asi Loader and Native Trainer. In general, you can uninstall any npm package or dependency by running the following command: 1 npm uninstallThe main concept is that compiled script plugins depend only on ScriptHookV.dll, so when the game updates the only thing that user must do in order to make scripts working again is to update script hook runtime (i.e. Note that it doesnt work in GTA Online, script hook disables custom scripts when player goes in multiplayer. This distrib also includes a sample asi plugin - native trainer, if you need a trainer then copy NativeTrainer.asi too. You must delete previous asi loader version (dsound.dll) if you have one installed.ģ. 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). Copy ScriptHookV.dll to the game's main folder, i.e. Therefore in this step, we will be updating our Script Hook application. Usually whenever the GTA V developers patch the Script Hook application in their updates the developers at Script Hook release a new update as a workaround that patch. This distrib also includes the latest Asi Loader and Native Trainer.ġ. Solution 1: Update the Script Hook Application. Note that it doesn't work in GTA Online, script hook closes GTA V when player goes in multiplayer, see details in the readme. Script Hook V is the library that allows to use GTA V script native functions in custom *.asi plugins.