Authorities say they found an unloaded gun and ammunition in the pockets of a 14-year-old student at a South Carolina middle school.