If you're only using a value once, no need to create a variable.
PHP Code:
switch( cs_get_user_team( id ) )
You can also do something like this.
PHP Code:
new CsTeams:iTeam = cs_get_user_team( id );
if ( CS_TEAM_T <= iTeam <= CS_TEAM_CT )
client_print( id , print_chat , "I am a %s" , iTeam == CS_TEAM_T ? "Terrorist" : "CT" );
I don't understand completely what you are trying to do. If you can explain better we can help better.
__________________