Was that bang a gunshot or a firework? How New Yorkers can tell the difference.gothamist.com While both acts are generally illegal in New York, distinguishing between them may determine whether you run for cover and call 911 or complain about the noise and call 311.