There are the two guys who are working on a script or a book, but im thinking they arent the main plotline. I remember at the end, they are tied up (maybe through mistaken identity, maybe juat comedy of errors) but they witness whoever is holding them captive being killed, and use the experience to finish their story.
I wish i.had more information, but i cant remember more than this. I dont think the movie is older than say the 90s. Any help would be greatly appreciated!