Is grand theft auto 4 only for xbox 360 and PlayStation 3 to play?

No, GTA IV is available for the Xbox 360, PlayStation 3 and PC.