A LONG time ago, shooting was okay if first you yell,”Stop in the name of the law!”
It was not that long ago. Tennessee vs Garner was decided in 1985.