does the batter get a rbi if pitch is a wild pitch
There are certain exceptions: a player does not receive an RBI if he hits into a double play and a run scores, if a run is scored on a wild pitch or passed ball or as the result of an error, or if the pitcher balks. A player does receive an RBI if he is walked or hit by a pitch with the bases loaded.