Suge Knight was tricked into coming to the set of “Straight Outta Compton” on Jan. 29 and purposely provoked by enemies who hoped he’d violate his parole, sources say.

Knight, co-founder of Death Row Records, was said to be angry that he was being portrayed (by R. Marcos Taylor) in the NWA biopic although he had no equity in the film and never gave his permission.

Knight felt he was owed money by his former Death Row Records artist Dr. Dre, as well as Ice Cube, who are both producers on the film.

“Someone called him and said, ‘Come down to the set. We’ll have a sit-down.’ He gets there and he’s told Ice Cube and Dre aren’t there, and, in fact, he’s not allowed there. He was played,” said my source.

Angry words were exchanged and Knight left, but former gang member Cle “Bone” Sloan and businessman Terry Carter followed him to Tam’s Burgers, where Knight hit them with his truck. Carter died from his injuries.

My source said, “They wanted Suge out of the way, and they figured they could provoke him into violence and violate his parole. And it worked.”

“Straight Outta Compton,” in theaters Aug. 14, portrays the history of the controversial Southern California rap group NWA, best known for the 1988 song “F - - k tha Police.”