Counter-Strike is already an online game, so you actually can play it online. If you're having trouble connecting, it's usually a matter of servers or setup rather than the game itself being offline.