limitmax. Wanted Level - a basic script on ScriptHookV .NET to limit the level of crime. With it, you can get rid of too annoying cops, for example, those who pester you from SWAT helicopters. This mod is suitable for those people who are disgusted by the game in god-mode, but they also do not like the overly vigilant attention of law enforcement officers. The script automatically reduces the crime level (wanted level) in GTA V to the level of 2 stars - which means that only ordinary cops will try to stop you. Even by shooting them in packs, you don't have to explain your behavior to the tough guys from SWAT.
Change limits: In order to lower or raise the bar for the maximum level of crime, edit the file with the .cs extension in a text editor (MS Notepad, Notepad++, etc.), in the line GTA.Native.Function.Call(GTA.Native.Hash.SEt_MAX_WANTED_LEVEL , 2). Here the last digit "2" is the maximum level above which the wanted level will not rise - it will simply be reset to 2 stars.