The issue is contingent on winning, as is with everything.
I don't think gangs realise just how powerful they are. Without fail, any gang which enters a gunfight with police that have strong numbers and weaponry (Revolvers and Marksman Pistols seem to be the favourite) will every single time down all police on foot in a gunfight. Every-single-time. Most gunfights, especially toward the end, exists solely as a time to recover our own and ensure the last couple remaining are safe whilst they do so.
Gangs are insanely good at what they do and their strategies when taking on the police, but you think we have the upper hand due to 2 assets (We do when it comes to these 2 assets, the countering capabilites exist but are extremely difficut). 99 & MRAP. These two function and have only functioned as a way to ensure police survive in reaction to a gunfight with police. Back when we didn't or couldn't deploy them, we'd get royally fucked by any gang with common sense & numbers.
That being said, we do deploy these 2 proactively as a deterrant or give us the upper hand in engaging a gang or group if we wish to conduct some policing (S&S etc.) or action some warrants, depends on the situation. But mostly, these assets are deployed as a reactionary force and when doing so, they are there to ensure we survive. Without it, you would quite literally wipe the floor with us.
I'll also give you good examples of how these 2 "OP" assets have been countered/almost countered.
MRAP; 229 fought the MRAP. They took its tires, then focused on flipping it by pushing/ramming it off of a cliff or other such height where it will land on it's side/roof. They successfully did this and countered it. It is absolutely possible, difficult but possible. Also depends on the locale which will make this harder or easier. It is possible. Or push it into water, wouldn't fair well whilst its occupants are drowning.
99; Ballas fought 99, with the sniper rifle in it. They did this by being in a helicopter, a few of them armed with revolvers and marskmans, and shot the living shit out of the helicopter & the guy with the rifle. It doesn't take much to force 99 to pull off, and another helicopter is the best way to achieve this. Now, will you be able to down the guy with the rifle, possibly, Aztecas have achieved it in the past but it's moreso reliant on taking advantage of the mistakes made by the pilot such as flying too low to the ground.
You're probably thinking, "What about QRA and their jets, wont they shoot us down" - Yes they will, but they're not around 24/7. You might get lucky, you might not. The windows on 99, are also not bulletproof or bullet resistant. They smash, easily. If you're a cracking shot, it is entirely possible to shoot the pilot and down them, however, not an easy task.
Now, these counters aren't easy. But I think that's by design. If you're going to take on the police, be prepared for the MRAP and 99 being deployed - this should be an expectation. Be ready to try and counter one or both, in what order and how you're going to achieve this. If you sink some time and planning into the question of "How can we deal with them?", you might find your fights with police could end up shifting to your side if planned and executed properly.
I also think it's good to point out the difference between a gang vs gang fight and a gang vs police.
If two gangs are going at it, police will and always should issue the warnings to disperse and if gangs comply, the police will quite simply leave you alone. Does this mean they won't action the intelligence later on that day or the next day, or pass it forward to CID to further their investigations, no. But it will grant you all a period of time to stash your guns and cars away before we come knocking.
If it's a gang fighting the police, you will find no mercy being shown. I'd expect the same from the gangs fighting us as well. We won't let you drive off or give you a chance to disperse if you've taken the conscious decision to engage the police. If you're going to engage the police, be it in an ambush or otherwise, be absolutely prepared.
If it was an accident, as has been seen previous with Aztecas, police will respond in kind, however if you have the contact details you might be able to discuss with officers on the ground to cease fire assuming a fair and reasonable understanding can be reached - personally, if this was to happen and the misfire was understandable, if they reach out and say 'Look, my guys shot one of yours accidentally, we didn't mean to, can we stop shooting as we both know it won't end well for either of us'. Odds are you might find the police agree and stop shooting. Police stop shooting what??? I thought they were all fraggers!!! It is worth highlighting, not all share the same opinion as me and I don't have the final say on situations so there isn't a guarantee, but I'd hope if this were to happen we can resolve it without bullets.
TL;DR - Gangs do much better against the police than you think. Be prepared to counter the MRAP and 99, it is difficult but possible, maybe worth knocking some heads together and coming up with a plan. If a gang is fighting a gang, we have specific tactics designed to give both sides the opportunities to disperse, if you comply, you'll find police more willing to engage and give you more chances in future. If a gang fights police, be 100% prepared, show no mercy and good luck to the winner.
Thanks for coming to my TED Talk.