Metro

Court’s a real hair raiser for Amanda Bynes

Troubled starlet Amanda Bynes wore a tangled peroxide-blond wig and sweat pants yesterday to a Manhattan courtroom, where she answered to drug charges — then had to bum $20 off her lawyer for the cab ride home.

The dazed former Nickelodeon actress had allegedly flung a bong out of her Times Square apartment’s 36th-floor window on Thursday as she was being interviewed by uniformed cops.

Fresh from a night in lockup, Bynes, 27, arrived in Criminal Court and quickly demanded photographers not take her picture.

PEYSER: AMANDA BYNES IS A BRAT GONE BONG-KERS, AND IT’S TIME FOR HER TO GET HELP — OR GET LOCKED UP

“Sir! Sir!” she said, peering at one lensman through a curtain of fake hair and with most of her nails broken but a few acrylic survivors. “I’m asking you. I don’t want any pictures, sir.”

Back in her hotel room, Bynes later admitted the fashion faux pas on Twitter.

“I need Nicki Minaj’s wig person stat!” she wrote.

Through her lawyer, Bynes made a complaint to the NYPD’s Internal Affairs Bureau claiming cops acted “inappropriately.”

Staff at her building had called cops at around 7:30 p.m. Thursday after she allegedly rolled and lit a joint in the lobby.

The cops smelled pot “emanating” from her apartment, a criminal complaint alleges.

“I observed defendant open the door,” one cop told prosecutors, according to the complaint. “And saw a bong on the kitchen counter. When I asked defendant about said bong, and while wearing full police uniform, I observed defendant grab said bong, run to the westbound-facing window, and throw it out the window.”

“It was just a vase,” Bynes allegedly told cops.

She faces charges of reckless endangerment, attempted tampering with physical evidence and unlawful possession of marijuana — all misdemeanors carrying a maximum of one year in prison.

Upon her release, the judge told Bynes her bail would be sky high if she were arrested again.

Her lawyer, Andrew Friedman, asked whether she had money for a cab home, and Bynes said: “I have none. If you could give me a 20, I would appreciate it.”

“Is that Lady Gaga?” a startled court staffer asked as she exited.

Additional reporting by Kevin Fasick and Larry Celona