Dwivedi, who shares a warm rapport with the 'Kick' star, said Salman gave valuable inputs to make the film more appealing.
"He did give us inputs which were valuable. We are thankful to him. He is a large-hearted man and he himself doesn't know what all he does (for others)," Nikhil told reporters here at the trailer launch of 'Tamanchey'.
There were reports that 'Tamanchey' is based on gangster Abu Salem and his then lady love actress Monica Bedi's life but Nikhil denies such reports.
"There is absolutely no inspiration drawn from the life of Abu Salem-Monica Bedi, as reported. It is not related to it," the 'Raavan' actor said.
But he did admit that he has been approached for a film based on Abu Salem's life.
"I have been offered a biopic on Abu Salem and I am considering it. It could be my next film," he adds. 'Tamanchey' also stars actress Richa Chadda, and it hits the theatres on September 19.