[AJUDA] Warnings.
#7

Tipo, eu mudei de CreateDynamicObjects para CreateObjects e arrumei umas coisinhas e saiu metade dos erros... diminuiu pra 11...
continuam esses:
Код:
C:\Documents and Settings\Administrador.CASA.000\Desktop\Brasil World Thug Rpg\Brasil World Thug Rpg\pawno\include\YSI/Visual/YSI_objects.own(3193) : warning 219: local variable "set" shadows a variable at a preceding level
C:\Documents and Settings\Administrador.CASA.000\Desktop\Brasil World Thug Rpg\Brasil World Thug Rpg\gamemodes\BWT.pwn(1512) : warning 217: loose indentation
C:\Documents and Settings\Administrador.CASA.000\Desktop\Brasil World Thug Rpg\Brasil World Thug Rpg\gamemodes\BWT.pwn(1514) : warning 217: loose indentation
C:\Documents and Settings\Administrador.CASA.000\Desktop\Brasil World Thug Rpg\Brasil World Thug Rpg\gamemodes\BWT.pwn(1616) : warning 217: loose indentation
C:\Documents and Settings\Administrador.CASA.000\Desktop\Brasil World Thug Rpg\Brasil World Thug Rpg\gamemodes\BWT.pwn(7902) : warning 204: symbol is assigned a value that is never used: "org"
C:\Documents and Settings\Administrador.CASA.000\Desktop\Brasil World Thug Rpg\Brasil World Thug Rpg\gamemodes\BWT.pwn(12455) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador.CASA.000\Desktop\Brasil World Thug Rpg\Brasil World Thug Rpg\gamemodes\BWT.pwn(12455) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador.CASA.000\Desktop\Brasil World Thug Rpg\Brasil World Thug Rpg\gamemodes\BWT.pwn(12455) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador.CASA.000\Desktop\Brasil World Thug Rpg\Brasil World Thug Rpg\gamemodes\BWT.pwn(12455) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador.CASA.000\Desktop\Brasil World Thug Rpg\Brasil World Thug Rpg\gamemodes\BWT.pwn(12997) : warning 217: loose indentation
C:\Documents and Settings\Administrador.CASA.000\Desktop\Brasil World Thug Rpg\Brasil World Thug Rpg\gamemodes\BWT.pwn(13870) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:           8744 bytes
Code size:          1379576 bytes
Data size:          5405948 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 6810652 bytes

11 Warnings.
Linha 1514 eu n vejo desalinhamento:
pawn Код:
}
        if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)
        {
            if(ProvocoMorro[playerid] == 1)
            {
            if(IsPlayerInMorro(playerid))
                {
                    GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
                    format(string, sizeof(string), "%s e a LSPD Dominaram a Favela Do PAC.",playername);
                    SendClientMessageToAll(OrgCor(org), string);
                    GangZoneStopFlashForAll(GZMorro);
                    GangZoneShowForAll(GZMorro,OrgCor(org));
                    Dominando[playerid] = 0;
                    ProvocoMorro[playerid] = 0;
                    GuerranoMorro = 0;
                    donomorro = 2;
                    KillTimer(TempoGuerraMorro);
                    GivePlayerMoney(playerid,5000);
                    return 1;
                    }
                        else
                    {
                    SendClientMessage(playerid, OrgCor(org), "Vocк Nгo Estб Na Favela do PAC.");
                    Dominando[playerid] = 0;
                    GangZoneStopFlashForAll(GZMorro);
                    GangZoneShowForAll(GZMorro, COLOR_WHITE);
                    ProvocoMorro[playerid] = 0;
                    GuerranoMorro = 0;
                    donomorro = 0;
                    KillTimer(TempoGuerraMorro);
                    return 1;
                }
            }
            return 1;
        }
O erro do listitem ja resolvi
Reply


Messages In This Thread
[AJUDA] Warnings. - by Darconian - 11.09.2011, 18:05
Re: [AJUDA] Warnings. - by Hardware - 11.09.2011, 18:07
Re: [AJUDA] Warnings. - by DreeH - 11.09.2011, 18:07
Re: [AJUDA] Warnings. - by WLSF - 11.09.2011, 18:08
Re: [AJUDA] Warnings. - by Darconian - 11.09.2011, 18:14
Re: [AJUDA] Warnings. - by BrunoBSF - 11.09.2011, 18:31
Re: [AJUDA] Warnings. - by Darconian - 11.09.2011, 18:34
Re: [AJUDA] Warnings. - by Hardware - 11.09.2011, 18:36
Re: [AJUDA] Warnings. - by WLSF - 11.09.2011, 18:36
Re: [AJUDA] Warnings. - by Darconian - 11.09.2011, 18:37

Forum Jump:


Users browsing this thread: 2 Guest(s)