06.01.2012, 22:45
ae galera, fui compila meu gm mais os seguintes erros:
Comando do Erro:
Linha do Erro:
Код:
C:\Users\LeoUlhoa\SAMP SERVER\gamemodes\rev_2.pwn(45288) : error 017: undefined symbol "Erva" C:\Users\LeoUlhoa\SAMP SERVER\gamemodes\testing.pwn(45288) : warning 215: expression has no effect C:\Users\LeoUlhoa\SAMP SERVER\gamemodes\testing.pwn(45288) : error 001: expected token: ";", but found "]" C:\Users\LeoUlhoa\SAMP SERVER\gamemodes\testing.pwn(45288) : error 029: invalid expression, assumed zero C:\Users\LeoUlhoa\SAMP SERVER\gamemodes\testing.pwn(45288) : fatal error 107: too many error messages on one line
pawn Код:
if(strcmp(cmd, "/comprarsementes", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
{
if(Erva[playerid] < 5)
{
if(Erva[playerid] == 4)
{
SendClientMessage(playerid, COLOR_GRAD2, "Vocк jб possui 4 pacotes de semente, planteas primeiro.");
return 1;
}
if(GetPlayerMoney(playerid) > 300)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 255.4576,-191.9259,1.5781))
{
SafeGivePlayerMoney(playerid, -300);
SendClientMessage(playerid, DEF, "Vocк retirou um saco de Sementes do depуsito. ( - 300$ )");
Erva[playerid] ++;
}
else
{
SetPlayerCheckpoint(playerid, 255.4576,-191.9259,1.5781,4.0);
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, " Vocк precisa de 300 dуlares.");
return 1;
}
}
return 1;
}
return 1;
}
pawn Код:
if(Erva[playerid] < 5)