His profanity may be a little less vile, but I still can't resist comparing standup comic Martin Lawrence's performance as ex-con Miles Logan, to one of Eddie Murphy's cop characters. In this "comedy", Logan (a thief) hides a huge diamond in an air duct of a partially constructed building to avoid being arrested with stolen goods. When he's released after two years in jail, he immediately returns to the building, only to find it's the new home of the Los Angeles Police Department.
Now the only way to his stolen treasure is through a formidable security door that opens only to cops or crooks. He's tried being a crook (some may argue the use of past tense), so he gets a friend to make some fake credentials and a tin badge. Posing as Officer Malone, Logan encounters a new problem. His papers are so impressive that the precinct's captain makes him lead detective of the robbery division. Teamed with an unsuspecting partner, Logan uses his ex-con education to hustle crooks and take control of a couple of dangerous situations. Even though he is hailed for his heroics, all the recognition makes it harder for him to retrieve the diamond.
While the occasional one-liner is humorous, Logan's primary motive is greed. He sees no problem in putting other people's lives in danger or destroying property while pursuing his personal goal. Meanwhile, a co-conspirator from the original diamond robbery is tracking him. With all these elements at work the script delivers action (there is lots of gunplay and manhandling), violence (there are several on-screen deaths), and even justifies murder.
Anytime comedy is derived from crime, parents need to be on their guard. Lawrence's character is intended to be endearing. This wisecracking crook solves complex crimes in moments, while making the other officers look like fools. He unrealistically avoids any consequences; even his two-year incarceration (which is served in about two minutes of movie time) appears a mere inconvenience. Hero' portrayals of this kind may be dangerous around children.