Were you messing around on strangers' property? If you are a grown man and you were walking around, uninvited, in the yards of people that do not know you, yes you are lucky you didn't get shot.
I'm not saying you deserved to get shot. I'm just saying that is the kind of behavior that can get you shot.
Yes. If the RP doubts the getting shot part all they need to do is read up on some of the threads on this site.