19.05.2013, 01:36
Erros:
Linha:
CMD INTEIRO:
Podem Me Ajudar ?
pawn Код:
E:\[GM] Brasil Knight Games\gamemodes\BKC.pwn(55313) : error 017: undefined symbol "LucasInfo"
E:\[GM] Brasil Knight Games\gamemodes\BKC.pwn(55313) : warning 215: expression has no effect
E:\[GM] Brasil Knight Games\gamemodes\BKC.pwn(55313) : error 001: expected token: ";", but found "]"
E:\[GM] Brasil Knight Games\gamemodes\BKC.pwn(55313) : error 029: invalid expression, assumed zero
E:\[GM] Brasil Knight Games\gamemodes\BKC.pwn(55313) : 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.
Linha:
pawn Код:
LucasInfo[playerid][InicioGuerra] = 0;
CMD INTEIRO:
pawn Код:
public GuerraTerrorista(playerid)
{
new string[128];
new plname[MAX_PLAYER_NAME];
GetPlayerName(playerid, plname, MAX_PLAYER_NAME);
TendoGuerra = 0;
if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)
{
KillTimer(TempoGuerra);
LucasInfo[playerid][InicioGuerra] = 0;
TendoGuerra = 0;
format(string, sizeof(string), "%s e o Exйrcito Finalizaram uma Guerra!",plname);
SendClientMessageToAll(COLOR_EXE, string);
GangZoneHideForAll(GZGuerra);
GangZoneDestroy(GZGuerra);
}
if(PlayerInfo[playerid][pMembro] == 6 || PlayerInfo[playerid][pLider] == 6)
{
KillTimer(TempoGuerra);
LucasInfo[playerid][InicioGuerra] = 0;
TendoGuerra = 0;
format(string, sizeof(string), "%s e a F.A.R.C Finalizaram uma Guerra!",plname);
SendClientMessageToAll(COR_FARC, string);
GangZoneHideForAll(GZGuerra);
GangZoneDestroy(GZGuerra);
}
if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
{
KillTimer(TempoGuerra);
LucasInfo[playerid][InicioGuerra] = 0;
TendoGuerra = 0;
format(string, sizeof(string), "%s e a Al'qaeda Finalizaram uma Guerra!",plname);
SendClientMessageToAll(COR_AL, string);
GangZoneHideForAll(GZGuerra);
GangZoneDestroy(GZGuerra);
}
if(Territorio[almortos] > Territorio[exemortos] && Territorio[talmortos] > Territorio[exemortos] && Territorio[FARCmortos] > Territorio[exemortos])//exercito ownou
{
format(string, sizeof(string), "O Exйrcito venceu a guerra matando %d do F.A.R.C, %d da Al'qaeda, e %d da Taliban!",Territorio[talmortos], Territorio[almortos], Territorio[FARCmortos]);
SendClientMessageToAll(COLOR_EXE, string);
}
else if(Territorio[exemortos] > Territorio[almortos] && Territorio[talmortos] > Territorio[almortos] && Territorio[FARCmortos] > Territorio[almortos])//al'qaeda ownou
{
format(string, sizeof(string), "A Al'qaeda venceu a guerra matando %d do F.A.R.C, %d do Exйrcito, e %d da Taliban!",Territorio[talmortos], Territorio[exemortos], Territorio[FARCmortos]);
SendClientMessageToAll(COR_AL, string);
}
else if(Territorio[exemortos] > Territorio[talmortos] && Territorio[almortos] > Territorio[talmortos] && Territorio[FARCmortos] > Territorio[talmortos])//F.A.R.C ownou
{
format(string, sizeof(string), "O F.A.R.C venceu a guerra matando %d da Al'qaeda, %d membros do Exйrcito, e %d da Taliban!",Territorio[almortos], Territorio[exemortos], Territorio[FARCmortos]);
SendClientMessageToAll(COR_FARC, string);
}
else if(Territorio[exemortos] > Territorio[FARCmortos] && Territorio[almortos] > Territorio[FARCmortos] && Territorio[talmortos] > Territorio[FARCmortos])//FARC ownou
{
format(string, sizeof(string), "A Taliban venceu a guerra matando %d da Al'qaeda, %d do Exйrcito, e %d do F.A.R.C!",Territorio[almortos], Territorio[exemortos], Territorio[talmortos]);
SendClientMessageToAll(COR_FARC, string);
}
else
{
format(string, sizeof(string), "Houve um empate na guerra! Morreram: %d da Al'qaeda, %d do Exйrcito, %d do F.A.R.C, e %d da Taliban !",Territorio[almortos], Territorio[exemortos],Territorio[talmortos],Territorio[FARCmortos]);
SendClientMessageToAll(COLOR_YELLOW2, string);
}
return true;
}