[Ajuda] Loose identation
#1

Eu sei que й ma identaзгo mais ta tudo identado corretamente atй usei site para identar mais continua dando warning e eu nгo quero usar #pragma tabsize 0
Cуdigo
pawn Код:
public OnPlayerText(playerid, text[])
{
    new string[180];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    if(text[0] == '!')
    {         for(new i=0; i < MAX_PLAYERS; i++)
        {
            if(Player[i][pFaccao] == 1)
            {
                format(string,sizeof(string),"[Chat Terceiro Comando da capital] %s (%d): %s", name,playerid, text[1]);
                if(Player[i][pFaccao] == 1)
                    SendClientMessage(i,COR_AMARELO,string);
            }
            if(Player[i][pFaccao] == 2)
            {
                format(string,sizeof(string),"[Chat Comando Vermelho] %s (%d): %s", name,playerid, text[1]);
                if(Player[i][pFaccao] == 2)
                    SendClientMessage(i,COR_ERRO,string);
            }
        }
        return 0;
    }
    return 1;
}
o warning й no return 0
Reply


Messages In This Thread
Loose identation - by FabioGTP - 22.02.2015, 23:28
Re: Loose identation - by Lуs - 22.02.2015, 23:31
Re: Loose identation - by pWesley - 22.02.2015, 23:32
Re: Loose identation - by Ever_SH - 22.02.2015, 23:34
Re: Loose identation - by Username1234 - 22.02.2015, 23:35
Re: Loose identation - by Duk - 22.02.2015, 23:37
Re : Loose identation - by ThuuGLif3 - 22.02.2015, 23:41
Re: Loose identation - by Kojak - 23.02.2015, 04:40
Re: Loose identation - by ipsLuan - 23.02.2015, 11:55
Re: Loose identation - by Wanderson_SAMP - 23.02.2015, 12:44

Forum Jump:


Users browsing this thread: 1 Guest(s)