Your question is confusing but one thing is for sure: This is not your case. It is your friend's issue. Your friend should discuss this matter with an attorney. Too few facts are available here to give you a definitive answer.
Yes, she definitely should bring a lawyer with her to a restraining order hearing, or it likely will be turned into a permanent one down the line. This is a specialized area of the law where an attorney will be most helpful.
I am licensed in California only and my answers on Avvo assume California law. The above answer is for general information only and is based on the information you posted. Every case is fact dependent, so to get a thorough analysis of your situation, you will need to consult face to face with an attorney licensed to practice in the jurisdiction where the incident took place. Do not conclusively rely on any information posted online when deciding what to do about your case. No attorney-client relationship shall be created through the use reading of this response on Avvo. You should never delay seeking legal advice, disregard legal advice, or commence or discontinue any legal action because of information in this response.