A veteran Long Island village official and a Spanish-speaking crony were busted Tuesday in a shakedown scheme that allegedly reaped more than $25,000 by targeting Latino restaurant owners with threats of ticket blitzes that would run them out of business.

Evidence against Hempstead Trustee Perry Pettus, 62, and alleged bag man William Mendez, 47, includes wiretapped telephone conversations in which they discussed the scam and referred to payoffs as “cookies,” Nassau County District Attorney Madeline Singas said.

“These charges read like something out of a movie,” Singas said during an afternoon news conference.

“They met with victims and conducted their business in cars and in parking lots.”

Mendez owns several restaurants, and Pettus allegedly helped “fast-track” various permits and licenses for him, including boosting the occupancy of Mendez’s El Pacifico eatery.

During one phone call, Singas said, “Pettus allegedly told Mendez that he would be ‘set for life’ if Pettus became the next Hempstead mayor.”

“And outrageously, the indictment charges Mr. Pettus discussed ordering Village of Hempstead employees, including Hempstead Police Department employees, to specifically target and ticket certain businesses, including a business located across the street from one of Mr. Mendez’s establishments,” she added.

To carry out the scheme, Mendez allegedly met with the victims and demanded payment, then met afterward with Pettus.

One time, investigators watched as Mendez allegedly got into Pettus’ Dodge Durango carrying a package, then left the luxury SUV without it.

Pettus and Mendez were both charged with multiple counts of conspiracy, bribe receiving, attempted grand larceny and official misconduct.

Pettus was also charged with grand larceny and additional counts of bribe receiving and official misconduct.

The top charge against each man carries a maximum five to 15 years in prison.

Pettus, who runs the HUB Auto Care body shop in Hempstead, is a Democrat who’s served on the Village Board since 2002.

His official profile says he “strongly believes in community policing and that an effective police force is there to serve and protect all of the village’s residents.”

Both men pleaded not guilty during their arraignments in the Nassau County courthouse in Mineola.

Pettus, a father of five, was released without bail and left court with a young girl in his arms.

Both he and his lawyer declined to comment.

Mendez was ordered held on $10,000 bail. His lawyer said Mendez would be able to post the amount but wouldn’t comment further.