If it's the one I think you're referring to...
You need to decline Louie's initial offer, fight the zombies, then come back to him for the machine pistol.
thank you