Beverly Hills Cop 3 is also known as "Die Hard in an amusement park," due to the climactic battle in which Eddie Murphy, holed up in a deserted amusement park, takes on a tide of villains. I don't know if the filmmakers realized it, but this is the same plot as Richard Stark's Slayground, published in 1971.
The narrative is as linear as an old pulp novel. The book opens with an armored truck robbery that quickly goes wrong. Parker, alone, escapes with a satchel of money by climbing the fence of a nearby amusement park, which is closed for the winter. Parker walks right into a meeting between a local mob boss and a few crooked cops. Parker escapes into the park, only to find there's no other way out. And he can't just leave, because he knows those mobsters out there will be waiting for him. He also knows that soon enough they'll realize he's the robber being mentioned in the news reports, the robber who has seventy grand on him. So Parker sets up as many traps as he can in the park. That night the mobsters come in after him, and what follows is a nail-biting thriller that would be fit for the screen, if not for its single-track mind and lack of subplot. It's survival of the fittest all the way, as Parker does whatever he can to [detour] anyone who comes after him, and escape with his life.
The novel itself doesn't start out so linear, as first we follow Parker through his botched robbery, and then we go back to before the robbery, and meet each of the mobsters and crooked cops. Once these pleasantries are out of the way, it's straight-up action and adventure time. Parker is his usual cold, calculating, monosyllabic self, and the assortment of mobsters and cops after him are each well-drawn and memorable. There are also several reversals and surprises strewn through the plot, such as when Parker "lucks out" and kills the last person you'd expect him to. However, what at first seemed like a lucky break soon turns out to be Parker's misfortune.
All in all, Slayground is an entertaining, quick read, but has apparently not yet been reprinted. I'd suggest finding a copy at your local library, instead of paying a fortune for a used edition.