pinging or tapping on 2001 Chevrolet Suburban 1500

i hear this tapping like when you warm up the truck but it does not go away. could it be that i need to replace the oil pump

It might be? But, try changing the oil? If the tapping still persist you might have a bad lift or out of adjustment?