Hello. Today I ran some tests with cs_set_user_team while the player (me, for that matter) is still alive.
At first, the purpose was to check whether cs_set_user_team would kill the player whenever it changed the team or not: it did not. But then, after the round is over, something very weird happened: I spawned as a spectator.