Ok so I did some experimenting and you can in fact get a player's ammo. You can't find out what weapon they are using or detect when they're firing it, but if you track ammo and you see their ammo go down while they're in a car, they're likely drive-bying. As of the next update it will now be a crime (1-star if near a player, 2-stars if near a cop).