switch( cs_get_user_team(id) ) // optimization { case CS_TEAM_T: { shopT(id) // readability } case CS_TEAM_CT: { shopCT(id) // readability } }