Yes, you do get a gun in Assassin's Creed 2, specifically a single pistol. That said, it is not much of a game-changer.
Most players find that sticking with their swords and hidden blades is simply more effective, so the pistol ends up being more of a novelty than a go-to weapon.