My emergency brake doesn't work right, especially when parking on a hill. Also, my car doesn't pass smog check.
The parking brake is part of the rear brakes. If your brakes do not hold you on a hill, then the rear brakes are either worn-out, or in-need of an adjustment. I recommend that you have a mechanic, such as one from YourMechanic, come by and do a brake inspection check. As far as the smog check goes, a thorough engine diagnosis would be needed to locate and fix the problem for you.
Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Fair and transparent pricing