My friend had a herpes outbreak had sex but she use condom and put a towel on top of her vagina so her boyfriend don't touch her skiin can he still ge?

Yes. It is unwise to have sex during a herpes outbreak. Your companion should be on medication to prevent this. Virus is being shed 33% of the time, no lesions are present. Highly contagious and for life!
Not smart. Herpes is quite contagious and a gift for life. You should never have sex with someone having an active outbreak, nor should she. Herpes virus is shed 30% of the time no lesions are noticably present. She should be on medication to prevent this and outbreaks. She is exibiting dangerous behavior, as are you.