Cops do get sued - but the cities usually indemnify them.
In that case, it's the taxpayers paying the lawsuit.