There are 2 pilots so the gun can be used on the other guy who may want to stop your crazy idea. Problem with guns on flight decks is that the hijacker knows there is a weapon on board which he can use if he can get hold of it. As I said in an earlier thread the biggest risk now is getting shot by the "good guy", be he an F16, sky marshall or the other pilot.