In the film The Other Guys , Will Ferrell portrays Allen Gamble , and Mark Wahlberg portrays Terry `` Yankee Clipper '' Hoitz .
Allen Gamble and Terry `` Yankee Clipper '' Hoitz are both detectives of the New York City Police Department ( NYPD ) .
The Other Guys