Based on what you've typed here, it sounds like your friend has been accused of "contempt of court" and maybe a warrant for contempt of court as well. I would very, very strongly encourage your friend to hire a lawyer immediately.
I am not your attorney, nor are you my client. This answer to your question is not to be considered legal advice. In all cases, I encourage you to contact a competent, licensed attorney, who will be able to consult with you, investigate the facts of your situation more thoroughly, and give you a better tailored answer. (Also, I frequently type answers on my mobile phone, so please excuse typos and autocorrect errors.)
Sign up to receive a 3-part series of useful information and advice about personal injury law.