Limit Max. Wanted Level

Published by: DragosDAS

Published 16 October 2024 (201 days ago)

Category: Scripts

With over 0 downloads.


This basic .NET script limits your max. wanted level, so you can block some police characters from spawning. For example, i was tired of the SWAT helicopters, so, until we can't mod weapon files to reduce the "bullet-eating-effect" (i get shotted dozens of times on the head and i don't die), i prefeer to avoid the damn helicopters.

What this exactly does
This script automatically limits your maximum wanted level to 2 stars, what means only police will chase you, and they'll shoot, but SWAT won't appear.

Dependencies
You'll need ScriptHookV, obviously, and also the .NET plugin: https://www.gta5-mods.com/tools/scripthookv-net

How to change max. wanted level
You can change it opening the .cs file provided with a text editor (like the MS Notepad, Notepad++ or any other program), and focus on this line:
GTA.Native.Function.Call(GTA.Native.Hash.SET_MAX_WANTED_LEVEL, 2);
change the last number (2 by default) for the max. wanted level you want.

Installation
Place Limit Wanted Level - 2.cs on the folder scripts, provided by .NET plugin. You can change the name of the .cs file.

Uninstallation
Remove the .cs file from your scripts folder.