Код
public OnPluginStart()
AddCommandListener(Command_JoinTeam, "jointeam");
public Action:Command_JoinTeam(client, const String:command[], args)
{
decl String:strTeam[8];
GetCmdArg(1, strTeam, sizeof(strTeam));
new team = StringToInt(strTeam);
if(team != CS_TEAM_SPECTATOR)
CS_RespawnPlayer(client);
}