Couldn't you also do:
Code:
if(cs_get_user_team(id) == CS_TEAM_CT)
{
client_print(1, print_chat, "[TEAMS] You are already on the CT team.")
return PLUGIN_HANDLED
}
else
{
//blah
}
?
Oh and there's an error
Code:
if(cs_get_user_team(id) == CS_TEAM_SPECTATOR)
{
client_print(1, print_chat, "[TEAMS] You are already on the TERRORIST team.") // o.O spectators.
return PLUGIN_HANDLED
}