It works

thanks
It shows up the names and when you click on it nothing happends.
Can you help me add that too?
Here is the command lines to change team if that helps:
Terror:
Code:
cs_set_user_team(player, CS_TEAM_T, CS_T_TERROR)
CT:
Code:
cs_set_user_team(player, CS_TEAM_CT, CS_CT_SAS)
Spectate:
Code:
cs_set_user_team(player, CS_TEAM_SPECTATOR, CS_DONTCHANGE)
-------------------------------------
EDIT:
And make the player die when the command is used.