Twelve people were wounded by gunfire, and four others sustained injuries not related to the gunshots, the state agency said.