[AJUDA]Porque esses erros?
#2

Falta a chave para fechar a public OnPlayerCommandText.

Poe assim no final desta public:

PHP код:
if(!strcmp(cmdtext"/tcps"true)) {
        
SendClientMessage(playeridCOLOR_RED"[    MEMBRO DO TCP ONLINE    ]");
        for(new 
i=0i<MAX_PLAYERS; ++i)
        {
            if(
IsPlayerConnected(i) || logged[i] == 1) {
                if(
PlayerInfo[i][TCP] >= 1) {
                    new 
cargo[20];
                    if(
PlayerInfo[i][TCP] == 1cargo "Fogueteiro";
                    else if(
PlayerInfo[i][TCP] == 2cargo "Vapor";
                    else if(
PlayerInfo[i][TCP] == 3cargo "Traficante";
                    else if(
PlayerInfo[i][TCP] == 4cargo "Gerente";
                    else if(
PlayerInfo[i][TCP] == 5cargo "Dono do Morro";
                    new 
str[256],pname[24]; GetPlayerName(ipname24);
                    
format(str128"%s  %s",cargopname);
                    
SendClientMessage(playeridCOLOR_CYANstr);
                }
            }
            return 
0x01;
        }
        return 
0x01;
    }
    return 
0;

Reply


Messages In This Thread
[AJUDA]Porque esses erros? - by Nake01 - 25.06.2011, 20:12
Re: [AJUDA]Porque esses erros? - by Shadoww5 - 25.06.2011, 20:48

Forum Jump:


Users browsing this thread: 1 Guest(s)