The gunman is believed to be a veteran of Croatia's war of independence in the 1990s. Police officials said that he used an unregistered gun.