Yes.
at the moment only CCSPlayer::SwitchTeam is JUST for css, because the team switching code is different for different mods. due to different gameplay stuff.
There is an offset you can change: m_iTeamNum which you can set to the right team index. But i have had nothing but problems with this method