Shane Black is funny, but he isn't THAT funny. I remember reading an interview a while back where he said that he got the idea of Riggs putting the gun in his mouth because he did the same thing in real life. He had been through rough depression and i think it can be felt in his movies.