if(!strcmp(cmdtext, "/tcps", true))
        {
            SendClientMessage(playerid, COLOR_RED, "[    MEMBRO DO TCP ONLINE    ]");
                new count=0;
                for(new i=0; i<MAX_PLAYERS; i++)
                {
                    if(IsPlayerConnected(i))
                    {
                        if(logged[playerid] == 1)
                        {
                            if(PlayerInfo[playerid][TCP] >= 1)
                            {
                                 new cargo[20];
                            if(PlayerInfo[playerid][TCP] == 1) cargo = "Fogueteiro";
                            if(PlayerInfo[playerid][TCP] == 2) cargo = "Vapor";
                            if(PlayerInfo[playerid][TCP] == 3) cargo = "Traficante";
                            if(PlayerInfo[playerid][TCP] == 4) cargo = "Gerente";
                            if(PlayerInfo[playerid][TCP] == 5) cargo = "Dono do Morro";
                            new str[256];
                            new pname[24];
                            GetPlayerName(i, pname, 24);
                            format(str, 256, "%s - %s",cargo, pname );
                            SendClientMessage(playerid, COLOR_CYAN, str);
                            count++;
                        }
                    }
                }
            }
            if(count == 0)
            {
                SendClientMessage(playerid, COLOR_CYAN, "Nгo tem nenhum TCP on-line agora!");
            }
            return 1;
        }
    return 0;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/tcps", true))
    {
        SendClientMessage(playerid, COLOR_RED, "[    MEMBRO DO TCP ONLINE    ]");
        new count=0;
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            if(logged[i] == 1)
            {
                if(PlayerInfo[i][TCP] >= 1)
                {
                    new cargo[20];
                    if(PlayerInfo[i][TCP] == 1) cargo = "Fogueteiro";
                    if(PlayerInfo[i][TCP] == 2) cargo = "Vapor";
                    if(PlayerInfo[i][TCP] == 3) cargo = "Traficante";
                    if(PlayerInfo[i][TCP] == 4) cargo = "Gerente";
                    if(PlayerInfo[i][TCP] == 5) cargo = "Dono do Morro";
                    new str[256];
                    new pname[24];
                    GetPlayerName(i, pname, 24);
                    format(str, 256, "%s - %s",cargo, pname );
                    SendClientMessage(playerid, COLOR_CYAN, str);
                    count++;
                }
            }
        }
        if(count == 0) { SendClientMessage(playerid, COLOR_CYAN, "Nгo tem nenhum TCP on-line agora!"); }
        return 1;
    }
    return 0;
} 
if(!strcmp(cmdtext, "/tcps", true)) {
        SendClientMessage(playerid, COLOR_RED, "[    MEMBRO DO TCP ONLINE    ]");
        for(new i=0; i<MAX_PLAYERS; ++i)
        {
            if(IsPlayerConnected(i) || logged[i] == 1) {
                if(PlayerInfo[i][TCP] >= 1) {
                    new cargo[20];
                    if(PlayerInfo[i][TCP] == 1) cargo = "Fogueteiro";
                    else if(PlayerInfo[i][TCP] == 2) cargo = "Vapor";
                    else if(PlayerInfo[i][TCP] == 3) cargo = "Traficante";
                    else if(PlayerInfo[i][TCP] == 4) cargo = "Gerente";
                    else if(PlayerInfo[i][TCP] == 5) cargo = "Dono do Morro";
                    new str[256],pname[24]; GetPlayerName(i, pname, 24);
                    format(str, 128, "%s  %s",cargo, pname);
                    SendClientMessage(playerid, COLOR_CYAN, str);
                }
            }
            return 0x01;
        }
        return 0x01;
    } 
| 
 Nгo precisa colocar IsPlayerConnected(i), pois o loop nгo irб rodar sobre os jogador offline. 
E quanto ao count, estб correto. Sу nгo sei o motivo para este codigo nгo funcionar.  | 
| 
 LOL? 
Й claro que vai. for nгo tem um check automatio pra player conectado. Lol. Se ta aprendendo pawn aonde?  |