SA-MP Forums Archive
[AJUDA]Erros dunada - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA]Erros dunada (/showthread.php?tid=184934)



[AJUDA]Erros dunada - rene20 - 22.10.2010

Por favor me ajuda, se tiver faltando linha me avise

Quote:

C:\Users\Rene\Desktop\Jogos\Brasil Virtual - RPG\gamemodes\ThugLife26 - Cуpia.pwn(342) : error 021: symbol already defined: "interior"
C:\Users\Rene\Desktop\Jogos\Brasil Virtual - RPG\gamemodes\ThugLife26 - Cуpia.pwn(220 : error 035: argument type mismatch (argument 2)
C:\Users\Rene\Desktop\Jogos\Brasil Virtual - RPG\gamemodes\ThugLife26 - Cуpia.pwn(2237) : error 035: argument type mismatch (argument 2)
C:\Users\Rene\Desktop\Jogos\Brasil Virtual - RPG\gamemodes\ThugLife26 - Cуpia.pwn(3599) : error 035: argument type mismatch (argument 2)
C:\Users\Rene\Desktop\Jogos\Brasil Virtual - RPG\gamemodes\ThugLife26 - Cуpia.pwn(4357) : warning 204: symbol is assigned a value that is never used: "killerteam"
C:\Users\Rene\Desktop\Jogos\Brasil Virtual - RPG\gamemodes\ThugLife26 - Cуpia.pwn(4356) : warning 204: symbol is assigned a value that is never used: "victimteam"
C:\Users\Rene\Desktop\Jogos\Brasil Virtual - RPG\gamemodes\ThugLife26 - Cуpia.pwn(4351) : warning 203: symbol is never used: "playercash"
C:\Users\Rene\Desktop\Jogos\Brasil Virtual - RPG\gamemodes\ThugLife26 - Cуpia.pwn(434 : warning 204: symbol is assigned a value that is never used: "string"
C:\Users\Rene\Desktop\Jogos\Brasil Virtual - RPG\gamemodes\ThugLife26 - Cуpia.pwn(4348 -- 4496) : error 010: invalid function or declaration
C:\Users\Rene\Desktop\Jogos\Brasil Virtual - RPG\gamemodes\ThugLife26 - Cуpia.pwn(4348 -- 4506) : error 010: invalid function or declaration
C:\Users\Rene\Desktop\Jogos\Brasil Virtual - RPG\gamemodes\ThugLife26 - Cуpia.pwn(4348 -- 4516) : error 010: invalid function or declaration
C:\Users\Rene\Desktop\Jogos\Brasil Virtual - RPG\gamemodes\ThugLife26 - Cуpia.pwn(4348 -- 4516) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


8 Errors.

Linhas
Quote:

342-new interior[MAX_PLAYERS];

Quote:

2208-GivePlayerMoneyEx(i, value);

Quote:

2237-GivePlayerMoneyEx(i, value);

Quote:

3599-GivePlayerMoneyEx(i, Jackpot);

Quote:

4357-killerteam = gTeam[killerid];

Quote:

4356-victimteam = gTeam[playerid];

Quote:

4348-new string[256];

Quote:

4351-new playercash;

Quote:

4348 -- 4496 -
pawn Код:
new string[256];
    //new dmessage[128];
    //new deathreason[20];
    new playercash;
    new victimteam;
    new Float:px,Float:py,Float:pz;
    new killerteam;

    victimteam = gTeam[playerid];
    killerteam = gTeam[killerid];
    gPlayerSpawned[playerid] = 0;
    GetPlayerName(playerid, name, sizeof(name));
    PlayerInfo[playerid][pLocal] = 255;
    GetPlayerPos(playerid, px, py, pz);
    spawnado[playerid] = 0;
    if(TendoGuerra >= 1)
    {
        if(IsPlayerInGuerra(playerid) && IsPlayerInGuerra(killerid))
        {
            if(ExeXHam >= 1)
            {
                if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)
                {
                    if(PlayerInfo[killerid][pMembro] == 6 || PlayerInfo[killerid][pLider] == 6)
                    {
                        ContHam += 1;
                        PoderosoInfo[playerid][DBGuerra] = 1;
                        PoderosoInfo[killerid][DBGuerra] = 1;
                    }
                }
                if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
                {
                    if(PlayerInfo[killerid][pMembro] == 3 || PlayerInfo[killerid][pLider] == 3)
                    {
                        ContExe += 1;
                        PoderosoInfo[playerid][DBGuerra] = 1;
                        PoderosoInfo[killerid][DBGuerra] = 1;
                    }
                }
            }
            if(ExeXAlq >= 1)
            {
                if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)
                {
                    if(PlayerInfo[killerid][pMembro] == 16 || PlayerInfo[killerid][pLider] == 16)
                    {
                        ContAlq += 1;
                        PoderosoInfo[playerid][DBGuerra] = 1;
                        PoderosoInfo[killerid][DBGuerra] = 1;
                    }
                }
                if(PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)
                {
                    if(PlayerInfo[killerid][pMembro] == 3 || PlayerInfo[killerid][pLider] == 3)
                    {
                        ContExe += 1;
                        PoderosoInfo[playerid][DBGuerra] = 1;
                        PoderosoInfo[killerid][DBGuerra] = 1;
                    }
                }
            }
            if(HamXExe >= 1)
            {
                if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
                {
                    if(PlayerInfo[killerid][pMembro] == 3 || PlayerInfo[killerid][pLider] == 3)
                    {
                        ContExe += 1;
                        PoderosoInfo[playerid][DBGuerra] = 1;
                        PoderosoInfo[killerid][DBGuerra] = 1;
                    }
                }
                if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)
                {
                    if(PlayerInfo[killerid][pMembro] == 6 || PlayerInfo[killerid][pLider] == 6)
                    {
                        ContHam += 1;
                        PoderosoInfo[playerid][DBGuerra] = 1;
                        PoderosoInfo[killerid][DBGuerra] = 1;
                    }
                }
            }
            if(HamXAlq >= 1)
            {
                if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
                {
                    if(PlayerInfo[killerid][pMembro] == 16 || PlayerInfo[killerid][pLider] == 16)
                    {
                        ContAlq += 1;
                        PoderosoInfo[playerid][DBGuerra] = 1;
                        PoderosoInfo[killerid][DBGuerra] = 1;
                    }
                }
                if(PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)
                {
                    if(PlayerInfo[killerid][pMembro] == 6 || PlayerInfo[killerid][pLider] == 6)
                    {
                        ContHam += 1;
                        PoderosoInfo[playerid][DBGuerra] = 1;
                        PoderosoInfo[killerid][DBGuerra] = 1;
                    }
                }
            }
            if(AlqXExe >= 1)
            {
                if(PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)
                {
                    if(PlayerInfo[killerid][pMembro] == 3 || PlayerInfo[killerid][pLider] == 3)
                    {
                        ContExe += 1;
                        PoderosoInfo[playerid][DBGuerra] = 1;
                        PoderosoInfo[killerid][DBGuerra] = 1;
                    }
                }
                if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)
                {
                    if(PlayerInfo[killerid][pMembro] == 16 || PlayerInfo[killerid][pLider] == 16)
                    {
                        ContAlq += 1;
                        PoderosoInfo[playerid][DBGuerra] = 1;
                        PoderosoInfo[killerid][DBGuerra] = 1;
                    }
                }
            }
            if(AlqXHam >= 1)
            {
                if(PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)
                {
                    if(PlayerInfo[killerid][pMembro] == 6 || PlayerInfo[killerid][pLider] == 6)
                    {
                        ContHam += 1;
                        PoderosoInfo[playerid][DBGuerra] = 1;
                        PoderosoInfo[killerid][DBGuerra] = 1;
                    }
                }
                if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
                {
                    if(PlayerInfo[killerid][pMembro] == 16 || PlayerInfo[killerid][pLider] == 16)
                    {
                        ContAlq += 1;
                        PoderosoInfo[playerid][DBGuerra] = 1;
                        PoderosoInfo[killerid][DBGuerra] = 1;
                    }
                }
            }
        }
    }
}
    if(ProvocoMorro[playerid] == 1)



Respuesta: [AJUDA]Erros dunada - BiieL - 22.10.2010

apaga a linha 342 ... e teste ...
Opa, eu nгo vi ... Nome do GM:
"ThugLife26 - Cуpia.pwn"

nao ajudo mais


Re: [AJUDA]Erros dunada - rene20 - 22.10.2010

LOL

COPIA , pq eu to colocando ele pra teste pra o original nao ter erro