Press ' to bring up the Console Window. Enter the following cheats turn on either Single Invisibility Mode (only the player you are controlling is invisible) or Team Invisibility Mode.
Single Invisibility Mode = theshadowknows
Team Invisibility Mode = teamshadow
NOTE: ''Invisible'' means that the AI characters (terrorists and hostages) cannot see you, however, you can still see the character models.