SA-MP Forums Archive
Erro ",", but found "]" - 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: Erro ",", but found "]" (/showthread.php?tid=460752)



Erro ",", but found "]" - PetterAdriano - 29.08.2013

Bom tentei compilar o meu GM e deu esses erros

Erro:
PHP код:
C:\Users\PetrickSchoba\Desktop\Servidor SA-MP\gamemodes\BRPG.pwn(10336) : error 001expected token","but found "]"
C:\Users\PetrickSchoba\Desktop\Servidor SA-MP\gamemodes\BRPG.pwn(10336) : error 029invalid expressionassumed zero
C
:\Users\PetrickSchoba\Desktop\Servidor SA-MP\gamemodes\BRPG.pwn(10336) : error 029invalid expressionassumed zero
C
:\Users\PetrickSchoba\Desktop\Servidor SA-MP\gamemodes\BRPG.pwn(10336) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Linhas:
PHP код:
    for(new 0sizeof(BizzInfo); h++)
    {
        if(
BizzInfo[h][bOwned] == 0)
        {
            
AddStaticPickup(1913023BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
            
format(gstringsizeof(gstring), "%s\nEsta empresa esta a venda\nValor: R$%d Nivel: %d\nPara comprar digite /compraremp",BizzInfo[h][bMessage],BizzInfo[h][bBuyPrice],BizzInfo[h][bLevelNeeded]);
            
BizzLabel[h] = Create3DTextLabel(gstring,Verde3D,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+0.5,20.0,0);
        }
        if(
BizzInfo[h][bOwned] == 1)
        {
            
AddStaticPickup(1913023BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
               
format(gstringsizeof(gstring), "%s\nProprietario: %s\nExtorcao: %s\nEntrada: R$%d\nNivel: %d\nAperte Enter Para Entrar",BizzInfo[h][bMessage],BizzInfo[h][bOwner],BizzInfo[h][bExtortion],BizzInfo[h][bEntranceCost],BizzInfo[h][bLevelNeeded]);
               
BizzLabel[h] = Create3DTextLabel(gstring,Verde3D,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+0.5,20.0,0);
        }
    } 



Re: Erro ",", but found "]" - Sti - 29.08.2013

Só coloque a Linha 10336 só ela...