The first incident occurred when eight gunmen armed with assault rifles entered a bar west of Johannesburg and shot 17 people. A separate shooting took place at an entertainment venue in a township outside Cape Town.