Вот так попробуй
Код
new iClient=1;
while(iClient<=MaxClients)
{
if(IsClientInGame(iClient)&&GetClientTeam(iClient)!=1)
{
CS_SwitchTeam(iClient,(fbFakeClient(client))?2:3);
}
iClient++;
}
bool: fbFakeClient(client)
{
if(!IsFakeClient(client))
{
return false;
}
return true;
}
И так
Код
new iClient=1;
while(iClient<=MaxClients)
{
if(IsClientInGame(iClient)&&GetClientTeam(iClient)!=1)
{
CS_SwitchTeam(iClient,(IsFakeClient(iClient))?2:3);
}
iClient++;
}