On the PC version of Grand Theft Auto V, the quickest documented way to make two groups of pedestrians (peds) fight is the SimpleGangWar ScriptHookVDotNet script. Install its two dependencies, copy the script files into the game’s scripts folder, then use the in-game hotkey to choose enemy and ally spawn points. For more control over models, targets and behavior, write a small ScriptHookVDotNet script using World.CreatePed and Task.FightAgainst.
What you need to know first
This workflow is for a PC installation that supports ScriptHookV and ScriptHookVDotNet. It is a single-player modding method; the cited documentation does not establish a supported procedure for PlayStation, Xbox or GTA Online. Use it in an offline, mod-compatible game setup and keep separate mod files if you also play online.
| # | Preview | Product | Price | |
|---|---|---|---|---|
| 1 |
|
Grand Theft Auto V: Premium Edition - PC [Online Game Code] | $29.98 | Buy on Amazon |
| 2 |
|
Grand Theft Auto V - PC | $36.99 | Buy on Amazon |
| 3 |
|
Grand Theft Auto V Enhanced + Great White Shark Card - PC [Online Game Code] | $44.97 | Buy on Amazon |
| 4 |
|
Grand Theft Auto V | $39.98 | Buy on Amazon |
| 5 |
|
Grand Theft Auto 5 PS4 - PlayStation 4 ( GTA V Ps4) | $26.95 | Buy on Amazon |
As an Amazon Associate I earn from qualifying purchases.
The SimpleGangWar project was listed as version 2.4.1, updated February 1, 2025. Its repository records ScriptHookV 1.0.3411.0 and ScriptHookVDotNet nightly 3.7.0-nightly.14 as the versions tested against the January 2025 PC game state. Later game or dependency updates can require a matching ScriptHook release.
Method 1: Set up a battle with SimpleGangWar
SimpleGangWar is designed to create “a basic battle between two teams.” It handles spawning, combat assignments and cleanup without requiring you to write code.
#1 Best Overall
- GRAND THEFT AUTO V When a young street hustler, a retired bank robber and a terrifying psychopath land themselves in trouble, they must pull off a series of dangerous heists to survive in a city in which they can trust nobody, least of all each other.
- GRAND THEFT AUTO ONLINE Discover an ever-evolving world of choices and ways to play as you climb the criminal ranks of Los Santos and Blaine County in the ultimate shared Online experience.
- THE CRIMINAL ENTERPRISE STARTER PACK The Criminal Enterprise Starter Pack is the fastest way for new GTA Online players to jumpstart their criminal empires with the most exciting and popular content plus $1,000,000 bonus cash to spend in GTA Online - all content valued at over GTA$10,000,000 if purchased separately.
- This game will no longer support Windows 7 or 8 operating systems starting January 30, 2024.
Install the prerequisites
- Install ScriptHookV for your PC copy of GTA V.
- Install ScriptHookVDotNet. The project documentation identifies nightly 3.7.0-nightly.14 and ScriptHookV 1.0.3411.0 as the tested versions for the January 2025 game state.
- Launch the game once in single-player to confirm that the hook and the
scriptsdirectory are working. If the directory does not exist, createGrand Theft Auto V/scriptsin the main game folder.
Copy the battle files
Copy both SimpleGangWar.cs and SimpleGangWar.ini into Grand Theft Auto V/scripts. Keep the INI file beside the script: it contains the settings that control the battle.
Choose the two spawn points
- Load a single-player session and travel to the location where you want the enemy team to appear.
- Press B, the default hotkey, at that location.
- Follow the prompt and press B again when the enemy position is accepted.
- Move to the location for your allied team and confirm it as prompted.
- After both positions are set, the script spawns the two teams and assigns their combat behavior.
Choose locations with a clear route between them. The project README warns that peds may idle when spawn points are too far apart; placing the teams within a practical walking or driving distance usually produces a more active fight.
Rank #2
- Will take full advantage of the power of new generation systems and PC to deliver across-the-board enhancements including increased resolution and graphical detail, denser traffic, greater draw distances, upgraded AI, new wildlife, and advanced weather and damage effects for the ultimate open world experience.
- The biggest, most dynamic and most diverse open world ever created and now packed with layers of new detail.
- Grand Theft Auto V blends storytelling and gameplay in new ways as players repeatedly jump in and out of the lives of the game’s three lead characters, playing all sides of the game’s interwoven story.
- Includes Grand Theft Auto Online, the ever-evolving Grand Theft Auto universe.
- All new content and gameplay created and released since the launch of Grand Theft Auto Online including new Jobs, an arsenal of new weapons, scores of new vehicles, new properties and player customizations
Pause, resume and shut down a battle
- Press N to pause or resume spawning.
- Press B twice to enter and confirm battle shutdown. The script removes both living and dead peds that it spawned.
SimpleGangWar settings you can tune
The INI configuration exposes substantially more than team locations. Exact option names can vary with the script build, so use the labels supplied in your copy of SimpleGangWar.ini.
Free tools Windows power users keep installed
One-click scans. No signup required.
| Control area | What it changes |
|---|---|
| Ped model | Which character models each team uses. |
| Weapon | The weapons assigned to spawned peds. |
| Health and armor | How much damage a ped can withstand. |
| Accuracy | Weapon accuracy for spawned combatants. |
| Combat movement | Stationary, defensive, offensive, suicidal, disabled or random movement behavior. |
| Combat range | How close peds try to get before engaging. |
| Living-ped and spawn limits | Caps the number of active and total spawned peds. |
| Wanted-level behavior and blips | Controls police attention and map markers. |
| Cleanup | Determines how spawned entities are removed when the battle ends. |
| Relationship-group processing | Helps prevent spawned peds from unexpectedly attacking mission peds. |
If your spawned fighters turn on story characters or other mission entities, review the relationship-group option before changing weapons or AI settings. A high spawn cap can also make battles harder to stop cleanly, especially on crowded locations.
Rank #3
- Experience entertainment blockbusters Grand Theft Auto V and Grand Theft Auto Online — now upgraded for a new generation with stunning visuals, faster loading, 3D audio, and more, plus exclusive content for GTA Online players.
- Welcome to Los Santos - When a young street hustler, a retired bank robber, and a terrifying psychopath find themselves entangled with some of the most frightening and deranged elements of the criminal underworld, the U.S. government, and the entertainment industry, they must pull off a series of dangerous heists to survive in a ruthless city in which they can trust nobody — least of all each other. Current PC players can transfer both GTAV Story Mode progress and GTA Online characters and progression with a one-time migration from the legacy version of GTAV to GTAV Enhanced.
- Stunning Visuals - Enhanced levels of fidelity and performance with new graphics modes including ray tracing features such as ambient occlusion and global illumination, ray traced shadows and reflections, support for AMD FSR and NVIDIA DLSS, and more.*
- Faster Loading - Quicker access to the action as the world of Los Santos and Blaine County load in faster than ever before by using SSD and DirectStorage on supported devices.
- Immersive Controls - Feel new levels of responsiveness with dynamic resistance via the Adaptive Triggers on the DualSense wireless controller, from directional damage to weather effects, rough road surfaces to explosions, and much more.*
Method 2: Make peds fight with your own script
A custom ScriptHookVDotNet script is the flexible option when you need a particular model, weapon loadout, formation or target assignment. The basic pattern is to create peds, retain references to them, assign each one a target and delete them during cleanup.
Core API sequence
- Spawn a character with
World.CreatePed(model, position). - Store every returned ped in a list so you can address it later.
- Assign an opponent with
ped.Task.FightAgainst(otherPed). - When the scenario ends, call
Task.ClearAllImmediately()and thenDelete()for each spawned ped.
Three-ped example
myPeds[0].Task.FightAgainst(myPeds[1]);
myPeds[1].Task.FightAgainst(myPeds[2]);
myPeds[2].Task.FightAgainst(myPeds[0]);
The example creates a circular target arrangement: each ped attacks the next one. For two teams, assign every member of team A to a selected member of team B, and do the reverse for team B. Keep the references in separate lists if you need team-wide cleanup or want to retarget survivors when an opponent dies.
Rank #4
- This Certified Refurbished product is tested and certified to look and work like new. The refurbishing process includes functionality testing, basic cleaning, inspection, and repackaging. The product ships with all relevant accessories, a minimum 90-day warranty, and may arrive in a generic box.
Stopping and deleting custom fighters
foreach (var ped in myPeds)
{
ped.Task.ClearAllImmediately();
ped.Delete();
}
Check that a ped reference is still valid before issuing a task or deleting it. A target that has already been removed cannot receive a new combat task, so scripts should detect dead or missing entities and choose another opponent.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Which approach should you use?
| Need | SimpleGangWar | Custom ScriptHookVDotNet code |
|---|---|---|
| Fastest setup | Best choice: install files and set two locations in game. | Requires writing, compiling and maintaining a script. |
| Models and weapons | Configured through the INI options. | Full programmatic control. |
| Movement and range | Built-in movement modes and combat-range settings. | Can be extended with your own task logic. |
| Spawn-count limits | Uses documented living-ped and spawn caps. | You must enforce limits yourself. |
| Relationship safety | Provides relationship-group processing options. | You must manage relationships and mission-ped interactions in code. |
| Cleanup | Battle shutdown removes living and dead spawned peds. | You must clear tasks and delete every entity reliably. |
Troubleshooting common failures
Nothing happens when you press B
- Confirm that ScriptHookV and ScriptHookVDotNet match the current PC game build.
- Check that both SimpleGangWar files are directly inside
Grand Theft Auto V/scripts, not in an extra nested folder. - Verify that you are in single-player and that the script is enabled in its INI configuration.
The teams spawn but stand idle
Move the spawn points closer together and give both groups a navigable route. The project specifically warns that excessive separation can leave peds idle.
Best Value
Peds attack the wrong characters
Review the relationship-group processing setting. Mission peds and ambient characters can be affected if groups are not isolated correctly.
The battle leaves bodies or entities behind
Use the documented shutdown sequence—press B twice and confirm. For custom code, clear each ped’s tasks and call Delete(), including for dead entities still retained in your list.
Platform and safety limits
The documented setup depends on PC files, ScriptHookV, ScriptHookVDotNet and a scripts folder. No non-modded console procedure is established here, and no GTA Online-safe method is documented. Treat the scripts as single-player modifications and remove or disable them before using any online mode that checks game files.
Frequently Asked Questions
Can I make peds fight in Director Mode or Menyoo?
The documented methods here use ScriptHookV/ScriptHookVDotNet and SimpleGangWar or your own ScriptHookVDotNet code. A separate, verified Director Mode or Menyoo procedure is not established by these sources.
Why are my two groups not attacking each other?
First bring the spawn points closer, then check relationship-group settings and confirm that each custom ped has a valid opposing target assigned with Task.FightAgainst.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

