fix rand range

arg goes into an int, so 2^31-1 is the largest we can go
fix face armour flag
setup for police view, hacked from lobby