I don't think they meant actually involving drugs, and in the case of NYC here, the sidewalk blocks any window there would be to drive up to.
I think they're simply referring to the old practice of drug deals happening via a guy on the sidewalk dealing with a car that stopped at the curb.