Do not discuss this any more online or with friends or family except to discuss this matter with an attorney. You are under no obligation to, and should not, speak to the police until you first discuss your situation with an attorney. More than likely they are building a case against your friend but you are now an adult and you want to avoid getting in trouble yourself.
It depends on the terms of the order and who was being restrained. What were you not supposed to do is the real question. If you brought her to a place that was one she was not supposed to go, you can be as liable as she may be for violating the order. As I am often in Court call my assistant ?Dan London at 312-807-3990 to set up a private telephone consultation. At the consultation we can discuss the confidential details we need to craft a strategic plan. These details shouldnot be broadcast over the Internet.
This is a general answer and does not address the specifics of your individual case. To give the specific answer you need our firm needs you to come in for a consultation.
You would be better served posting your question in the criminal law forum.
The author provides the preceding information as a service to the public. Author's response, as stated above, should not be considered legal advice. An initial attorney-client conference, based upon review of all relevant facts/documents, will be necessary to provide legal advice upon which the client should then rely.