[AJUDA]Comando /tcps
#6

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;
    } 
Reply


Messages In This Thread
[AJUDA]Comando /tcps - by Nake01 - 25.06.2011, 12:35
Re: [AJUDA]Comando /tcps - by Shadoww5 - 25.06.2011, 12:51
Re: [AJUDA]Comando /tcps - by Nake01 - 25.06.2011, 13:33
Re: [AJUDA]Comando /tcps - by Shadoww5 - 25.06.2011, 13:38
Re: [AJUDA]Comando /tcps - by Nake01 - 25.06.2011, 14:45
Re: [AJUDA]Comando /tcps - by Ricop522 - 25.06.2011, 19:11
Re: [AJUDA]Comando /tcps - by Shadoww5 - 25.06.2011, 19:36
Re: [AJUDA]Comando /tcps - by steki. - 25.06.2011, 21:06
Re: [AJUDA]Comando /tcps - by Nake01 - 25.06.2011, 21:37
Re: [AJUDA]Comando /tcps - by Shadoww5 - 25.06.2011, 22:39

Forum Jump:


Users browsing this thread: 3 Guest(s)