I have, and yes, it was by a real fire-arm.
I ended up talking to my neighbor, who shot me, and he showed me the gun he used, which is the AR-7.
http://world.guns.ru/civil/ar7-2.jpg
(Just so you guys know what it looks like. He doesn't have the telescopic scope though)
I took a .22 bullet through the left arm, just below my elbow.
Me and my friends were walking on his property and we had our (Mine actually. They're too cheap to buy them.) air-soft rifles and they looked rather authentic. One looked like a hunting rifle, another looked like a small WWII-era carbine, and another looked like a G36. We were trespassing with what looked like actual weapons, and he was smart enough to try and disable our combat abilities. xD
It was really scary to be honest. I heard a gun fire three times, and I look down to see if I'm okay, and I see my arm is bleeding. He ran over, and made us all lay on the ground, and checked the airsoft guns to see if they actually were firearms. He was shocked, and helped me get the bullet out of my arm, and disinfected it and apologized. That was nice of him, and I was thinking he would be like the majority of the rednecks who just kind of.... leave the person bleeding or fire more.