A Brooklyn rapper made quite the fashion statement Friday when he sauntered into a Manhattan court wearing a floor-length fur, a bulletproof vest and a red baseball cap promoting crack cocaine.

Troy Ave — whose real name is Roland Collins — had to hand over the vest to security before heading to the courtroom but kept the red cap, emblazoned with the phrase “Bake & Water Whip Weight Again.” The cap, which sells for $200 on his Web site, references the process of making crack cocaine.

At a pretrial hearing, Justice Ronald Zweibel agreed to allow Collins, 31, to perform while out on bail for his alleged role in a shooting that left his pal dead at a T.I. concert at Irving Plaza last May.

Collins hasn’t worked since posting $500,000 bond in the attempted-murder case. He has already scheduled a show Feb. 25 in North Carolina, he said. “I’m ecstatic to get back in touch with my fans. I’m blessed,” he said.

The rapper will be permitted to travel out of state amd will no longer be subject to a curfew. But he must wear a GPS ankle bracelet, notify prosecutors of his plans and travel with a security guard.

Prosecutors consented to the bail modifications, citing evidence that another suspect killed Ronald McPhatter and wounded three others.

Defense lawyer John Stella has argued that Collins, who was shot in the leg during the incident, wrestled the gun from the assailant and returned fire in self-defense.