I don't see their rap styles as similar at all
DMX was battle raps, street crime stories, spirituality, violence and horrorcore, and personal demons he's dealing with
Pac was about social, political issues, uplifting of black community, street tales of young black males in America, and his legal battles, and diss songs
They were bald headed and wore bandanas. So I get that connection. But as far as rapping, outside of being passionate about what they rapped about, I don't see similarities in their actual style. X was a cross between Scarface and Onyx.