A man was fighting with a gun in an abandoned garden as gunfire echoed through the night.