The scene where mob associate Sylvester Zottola, 71, was fatally shot at a McDonald's in the Bronx.

It was a hit straight out of a gangster flick.

New details emerged on Friday in the McDonald’s drive-through slaying of mobster Sylvester Zottola in The Bronx, with police and witnesses revealing that the Bonanno crime-family associate, who had survived three previous attempts on his life, was finally taken out in a hit that exploited his love of the Golden Arches.

“It was like in the movies,” said one witness who saw surveillance footage of Zottola’s death and declined to give his name.

Zottola, 70, was sitting in his SUV waiting for a medium cup of coffee at a McDonald’s in Belmont at around 4:45 p.m. on Thursday when a gray car drove up behind the eatery and a gunman jumped out, according to sources.

Mickey D’s was apparently a good place to find Zottola. He “frequents” the chain, according to a detective at the scene, and he was a sitting duck in the drive-through, with him boxed in by vehicles in front of and behind his, sources said.

The hit man — described as a black man in a black hooded sweatshirt and dark pants — darted through a hole in the back fence of the McDonald’s and into the drive-through, where he pumped five 9 mm bullets into Zottola’s body through the SUV window, sources said.

“I heard four shots. I thought it was a motorcycle starting up: ‘pop, pop, pop, pop,’ ” said a local eighth-grader who was in the eatery at the time and declined to give his name.

“A girl came in from outside and said, ‘Somebody got shot! Somebody got shot!’ ”

The gunman then dashed back into the gray sedan and drove away.

“We saw a car . . . drive up the block. A person ran inside the drive-through. He had something in his hand. Shot the victim. Through the passenger window, I think, and ran back,” said the witness, who works nearby and ran over in time to see the body.

“His head was hanging outside the window. Of course, there was blood. You take two shots to your head. It was dripping in the floor. It was disgusting.”

Cops believe it was a hit on Zottola, who operated joker-poker machines in The Bronx and previously supplied the gambling machines for former Bonanno boss Vincent “Vinny Gorgeous” Basciano.

Basciano, currently serving two life sentences in prison for murder, once set up his own mistress in the Zottola family’s home, according to reports.

But Zottola appeared to be a marked man and had already survived at least three attacks from armed assailants over the past year.

In September of last year, a goon clubbed him over the head while he was walking near his lavish waterfront compound in the Locust Point section of The Bronx, sources said.

Two months later, a gun-toting thug tried to force Zottola into a car nearby but failed, according to sources.

And in December, Zottola walked in on three burglars inside his home, and one stabbed him in the neck, sending him to the hospital in critical condition.

And in June of this year, Zottola was collared for shooting an unlicensed gun at a man who he claims drew a gun on him outside his waterfront home.

A month later, his 41-year-old son, Salvatore Zottola, narrowly escaped with his life when a gunman opened fire on him outside the home.

Cops believe one group was behind both that attack and Thursday’s hit, sources told The Post.

The elder Zottola had been due back in Bronx Criminal Court over the gun charge this coming Tuesday, court records show.

The witness who saw Zottola’s body admitted being less surprised by a mob hit in the neighborhood than he was by the wiseguy’s choice of cuisine.

“We’re in The Bronx. There are shootings. I thought he must have done something. Then we found out he was a Mafia boss,” the man said.

“I was surprised he was here. Mobsters eating in McDonald’s?”

Additional reporting by Ben Feuerherd