There are three practical ways to get opponents into a Counter-Strike match.
Play a custom game with bots — you can select them all up front so they're already in the server with you. Alternatively, add them one at a time from the console (opened with the ` key) by typing add_bot.
Or skip bots entirely and join multiplayer to face real players online.