The director of "Along Came a Spider," "Mulholland Falls" and "Die Another Day" pleaded guilty to trespassing, and prosecutors dismissed charges of soliciting and loitering, the Los Angeles Times reported.
Police said Tamahori was wearing a dress, a long black wig and makeup when he allegedly approached an undercover officer on Jan. 8 and offered to perform oral sex in exchange for money.
In addition to the three years probation, Los Angeles Superior Court Judge Chester Horn ordered Tamahori to attend AIDS education classes and clean graffiti in Hollywood.
Tamahori's attorney, Mark Geragos, said after the hearing his client was back at work and "pleased with the disposition."
Celebrity Couples of 2014 [PHOTOS]