For 40 years , McBain has been a lively and gritty chronicler of New York City life and helped inspire TV cop shows such as Homicide , NYPD Blue , and Hill Street Blues .
McBain helped inspire all the cop shows on TV .