Original: He saw people running and some of them went to hide from the gunfire inside a nearby restaurant.
Updated: He saw people running and some taking cover from the gunfire in a nearby restaurant.