Denial is a major component of addiction. You'll have a hard time convincing them not to smoke near the children, but it could be worth a try.
I would stay away from such a smoky gathering, respectfully let them know why, and maybe try to catch up another time, in places where smoking is not allowed.