Fact1: Lieutenant Frank Drebin taking vacation in disrupts conference of America 's greatest enemies Beirut, Fact2: conference of America 's greatest enemies conceive terrorist plan to humiliate US, Fact3: Captain Ed Hocken After visits Nordberg being briefed on case by boss, Fact4: deal picture of had been organized Ludwig 's ship, Fact5: Frank enters Ludwig 's office in absence
Output: Lieutenant Frank Drebin, taking a vacation in Beirut, disrupts a conference of Americas greatest enemies Idi Amin, Muammar Gaddafi, Ayatollah Khomeini, Yasser Arafat, Fidel Castro and Mikhail Gorbachev who are trying to conceive a terrorist plan to humiliate the US. In Los Angeles, Officer Nordberg attempts to bust a heroin drug operation at the docks organized by docks owner Vincent Ludwig, and is shot by Ludwigs henchmen. After being briefed on the case by his boss, Captain Ed Hocken, Police Squad Lieutenant Drebin visits Nordberg in the hospital. Nordberg provides cryptic clues, including a picture of Ludwigs ship on which the deal had been organized. Frank meets with police scientist Ted Olsen, who has invented a cufflink that shoots a tranquilizer dart. Frank learns through Ted that Nordbergs jacket tested positive for heroin. Police Squad is in charge of security for the visit of Queen Elizabeth II to Los Angeles, and Ed tells Frank that he has 24 hours to clear Nordberg before word gets out about what happened and detracts from the queens visit. When Frank visits Ludwig in his office, Ludwig learns that Nordberg is still alive. Ludwig has his assistant, Jane Spencer, assist Frank in his investigation, and the two fall in love. However, Jane is unaware of her employers illegal activities. After Frank leaves the office, Ludwig meets with Pahpshmir, a participant of the Beirut meeting, to discuss an assassination plot against the queen. Ludwig agrees to do it for 20 million, with Pahpshmir wondering how he plans to pull it off. Ludwig explains that using a beeper he will create the assassin using posthypnotic suggestion. Ludwig unsuccessfully attempts to have Nordberg killed at the hospital; while the hypnotized doctor escapes Frank, he accidentally ends up riding a ballistic missile into a fireworks store, leaving the assassination motive unknown. Frank enters Ludwigs office in his absence, searching for evidence. Although Frank finds a note from Pahpshmir addressed to Ludwig which confirms his suspicions, he inadvertently starts a fire that destroys the note and the office. Frank later has a runin with one of Ludwigs henchmen at his factory in a stockyard, and after that confronts Ludwig with his allegations at a reception for the Queens arrival. Frank misinterprets Ludwigs presentation of a musket to the Queen as an attack and tries to protect her, but only causes more of a problem and is fired from Police Squad. Afterward, Jane finds out about the plot and tells Frank that the plan will be executed at a baseball game between the Seattle Mariners and the California Angels at Anaheim Stadium during the seventh inning stretch and that one of the players will perform the act. In order to search the players, Frank knocks the home plate umpire out with a baseball bat and takes his place, frisking the players for weapons while they are at bat. The seventhinning stretch begins and Ludwig activates hissleeper, Reggie Jackson. Jane alerts Frank, who chases after Jackson and tackles him, but Jackson manages to get away when Franks action starts a general riot between the two teams. Ludwig holds Jane at gunpoint as he begins to leave the stadium while Jackson takes aim at the Queen. Frank tries to incapacitate Jackson with one of his cufflink darts, but misses and hits a large woman on the upper deck. The woman falls over the railing and lands on Jackson, incapacitating him and saving the Queens life. Frank follows Ludwig to the top of the stadium and shoots Ludwig with the other cufflink dart, causing him to fall over the side of the stadium where he is struck by a passing bus, run over by a steamroller, and finally marched on by the USC marching band. Some of the band members inadvertently step on Ludwigs beeper, and Jane is hypnotized into killing Frank by using Ludwigs gun. Frank breaks Janes hypnotized state by openly professing his feelings for her and giving her an engagement ring. Frank and Jane meet Mayor Barkley, who reinstates Frank back to Police Squad, and a recovered Nordberg congratulates him  until Frank inadvertently pushes Nordbergs wheelchair down the stadiums stairs.