Can a discharge that smells like semen can hapen on pregnancy?

Unlikely. Only sperm will cause a pregnancy. Sperm are only released during ejaculation (with rare exceptions). If the discharge is occurring at times other than ejaculation, then you should see your doctor because it may be an infection that requires treatment.