The laws of Texas and California are not the same. California attorneys are usually not licensed to practice law in Texas and are not familiar with Texas law. If your friend has been charged with a crime in Texas, he needs a Texas criminal defense attorney.
The response above is not intended as legal advice. This response does not create an attorney-client relationship. Legal questions can only be fully answered through consultation with an attorney to whom you give full and accurate details. Anything you post here is not confidential and is not protected by the attorney-client relationship. It is highly recommended that you seek advice from a criminal defense attorney licensed in your jurisdiction by setting up a confidential meeting.