29.08.2013, 19:41
Bom tentei compilar o meu GM e deu esses erros
Erro:
Linhas:
Erro:
PHP код:
C:\Users\PetrickSchoba\Desktop\Servidor SA-MP\gamemodes\BRPG.pwn(10336) : error 001: expected token: ",", but found "]"
C:\Users\PetrickSchoba\Desktop\Servidor SA-MP\gamemodes\BRPG.pwn(10336) : error 029: invalid expression, assumed zero
C:\Users\PetrickSchoba\Desktop\Servidor SA-MP\gamemodes\BRPG.pwn(10336) : error 029: invalid expression, assumed zero
C:\Users\PetrickSchoba\Desktop\Servidor SA-MP\gamemodes\BRPG.pwn(10336) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
PHP код:
for(new h = 0; h < sizeof(BizzInfo); h++)
{
if(BizzInfo[h][bOwned] == 0)
{
AddStaticPickup(19130, 23, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
format(gstring, sizeof(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(19130, 23, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
format(gstring, sizeof(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);
}
}