I don't smoke cigarettes personally, but some of my friends do. They've tried to quit before, but it usually fails because they end up in an environment where a lot of people are smoking. I wouldn't recommend cutting off hanging around your friends because they smoke, but don't spend 6 hours in a place like a bar where literally everyone is smoking. The urge is just too high....

Good luck.