Mods are one of the main reasons GTA 5 is still played on PC more than ten years after launch: new cars, realistic graphics, police mods, trainers and whole new missions. This guide explains how the main modding tools fit together and how to install mods without breaking your game.
Before you start: mods only work on the PC version and only in Story Mode. Consoles do not support mods, and using them in GTA Online can get your account banned.
What you need
| Tool | What it does |
|---|---|
| Script Hook V | Lets the game run script mods (files ending in .asi). Almost every trainer and gameplay mod needs it. |
ASI Loader (dinput8.dll) | Loads the .asi files. It comes inside the Script Hook V download. |
| ScriptHookVDotNet | Runs mods written in C# or VB.NET, which go in a scripts folder. |
| OpenIV | An archive editor used to install vehicles, textures, maps and anything that replaces game files. |
Download each tool only from its official page or a well-known mod site, and avoid "all-in-one" packs from unknown sources: they are a common way to spread malware.
Step 1: back up your game
Copy the whole GTA 5 folder to another drive, or at least make a note of how big it is and which files are in the main folder. If something goes wrong, you can restore the original files instead of downloading 100 GB again. Also turn off automatic updates in your launcher if you can: each game update breaks Script Hook V until its author releases a new version.
Step 2: install Script Hook V
- Download the latest Script Hook V and open the
binfolder inside the zip. - Copy
ScriptHookV.dllanddinput8.dllto the GTA 5 main folder (the one that containsGTA5.exe). - Optionally copy
NativeTrainer.asitoo: it is a simple trainer you open with F4 to test that everything works.
Start Story Mode. If the trainer opens, Script Hook V is working.
Step 3: install ScriptHookVDotNet (if your mods need it)
Copy its files to the main folder and create a folder named scripts there. Mods that say "requires SHVDN" go inside that folder.
Step 4: set up OpenIV and the mods folder
- Install OpenIV and choose GTA V for Windows when it asks for the game.
- In OpenIV go to Tools > ASI Manager and install the ASI Loader and OpenIV.ASI.
- Turn on Edit mode only when you need it, and when OpenIV offers to copy a file to the
modsfolder, accept.
The mods folder is the key to safe modding: the game reads the modified copies from there and your original files stay untouched. To go back to vanilla, you rename or remove the mods folder.
Step 5: install mods
- .oiv packages: open them with OpenIV's Package Installer and choose to install into the
modsfolder. This is the easiest kind. - Script mods (.asi or .dll): copy them to the main folder (ASI) or to
scripts(SHVDN), following the mod's readme. - Replace cars: the new model replaces an existing vehicle, so you drop the files into the right archive in the
modsfolder. - Add-on cars: they add a new vehicle without replacing any. You copy the car's folder to
mods\update\x64\dlcpacksand add a line with its name todlclist.xml. You then spawn it with a trainer by its model name.
Install one mod at a time and launch the game after each one. When the game crashes, the last mod you added is almost always the cause.
Legacy and Enhanced editions
Since 2025 there are two PC versions of GTA 5: Legacy and Enhanced. Most mods were made for Legacy. Script Hook V has versions for Enhanced, but OpenIV needs an extra plugin to work with it and many older mods do not work there at all. If you plan to use a lot of mods, play the edition your mods support.
Mods and GTA Online
GTA Online uses BattlEye anti-cheat since 2024. Never join GTA Online with script mods or modified files loaded. The safest setup is to remove the mods folder and the .asi files before going online, or to keep a separate clean copy of the game just for Online.
Common problems
- The game closes at startup after an update: Script Hook V is out of date. Remove
dinput8.dllandScriptHookV.dlluntil a new version comes out. - "Critical error" message when loading Story Mode: usually a mod made for a different game version.
- Add-on car doesn't spawn: check its line in
dlclist.xmland that the folder name matches.
