I read this about 15 yeas ago, maybe more. I believe it was aimed at YA, but it may have been for adults.
In the beginning the main characters are attending an illegal drag race. They've built the car to be powered entirely by NOS, rather than by petrol with a NOS boost. To do this they had to make the fuel tank cover every possible inch of the car, including the body shell.
The race begins by and electrified gate gate raising up. Racers can't set off early or they'll get electrocuted. One of the rivals sets of before the gate is fully raised and gets around it by coating the car in rubber.
During the race (or shortly after) the place get raided by some sort of police/authorities. I can't remember if it was a sort of totalitarian state or if it was just because they were criminals but I believe it was close to the former.
During the raid the authorities have some sort of tank vehicle. The protagonist has a gun that can disable vehicles, but as the tank is shielded it is ineffective. However they manage to fire it into the tank barrel and it worked. Another character explains that the tank barrel is normally shielded, but the shield is lowered for a split second before the tank is about to fire. And the protagonist must have fired at exactly the right time in order to get the shot in before the tank fired.
It was set in the near future. That's everything I can remember.