If you get attacked, hit the buttons for the nearest floor so the doors will open. When approaching your car in a parking lot, look all around, in and under it to be sure that no one is hiding there. Lock your doors so someone can't get in after you do. Also check for things like broken windows on your car. People don't want to get involved.
People are greedy.
If someone pulls a gun on you and tells you to drive your car somewhere do it. Your accident will get you attention, and the guy probably doesn't have his seatbelt on, so you'll be able to get away. If someone pulls a gun and tells you to go with him, either run away, or pretend to have a heart attack and fall down. He won't drag you by your heels or throw you over his shoulder and take you along anyway. Muggers and robbers are looking for EASY targets.