[TUT] Criando Race-ChecksPoints
#2

Resultado =
pawn Код:
C:\Documents and Settings\Jonathan\Desktop\VirtuaLife.pwn(1010) : error 001: expected token: ":", but found ";"
C:\Documents and Settings\Jonathan\Desktop\VirtuaLife.pwn(1010) : error 036: empty statement
C:\Documents and Settings\Jonathan\Desktop\VirtuaLife.pwn(1014) : error 017: undefined symbol "Check"
C:\Documents and Settings\Jonathan\Desktop\VirtuaLife.pwn(1014) : warning 215: expression has no effect
C:\Documents and Settings\Jonathan\Desktop\VirtuaLife.pwn(1014) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Jonathan\Desktop\VirtuaLife.pwn(1014) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Jonathan\Desktop\VirtuaLife.pwn(1014) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.
Linha
pawn Код:
1010:         case 1;
1014: SetPlayerRaceCheckpoint(playerid,1,Check[1][1], Check[1][2], Check[1][3], Checkpoints[2][1], Check[2][2], Check[2][3], 10);//Mostra Check
Minha public inteira esta assim
pawn Код:
public OnPlayerEnterRaceCheckpoint(playerid)
{
    ValorCheck[playerid]++;
    switch(ValorCheck[playerid])
    {
        case 1;
        {
              DisablePlayerRaceCheckpoint(playerid);//Desabilita Check
              SendClientMessage(playerid,COR_LARANJA,"Espera Concluida, Siga para o proximo ponto");
              SetPlayerRaceCheckpoint(playerid,1,Check[1][1], Check[1][2], Check[1][3], Checkpoints[2][1], Check[2][2], Check[2][3], 10);//Mostra Check
              return 1;
         }
         case 2;
         {
              DisablePlayerRaceCheckpoint(playerid);
              SendClientMessage(playerid,0xDEEE20FF, "Vocк Venceu a Corrida");
              ValorCheck[playerid] = 0;//Reseta Variбvel para nova corrida
              return 1;
         }
    }
    return 1;
}
rsrssrsr...RaceCheckpoint nгo й a mina maior habilidade em pawno
Reply


Messages In This Thread
[TUT] Criando Race-ChecksPoints - by ipsBruno - 12.08.2010, 03:30
Re: [TUT] Criando Race-ChecksPoints - by Falcon. - 12.08.2010, 13:02
Re: [TUT] Criando Race-ChecksPoints - by zSuYaNw - 12.08.2010, 14:07
Re: [TUT] Criando Race-ChecksPoints - by Falcon. - 12.08.2010, 14:22
Re: [TUT] Criando Race-ChecksPoints - by zSuYaNw - 12.08.2010, 14:32
Re: [TUT] Criando Race-ChecksPoints - by Falcon. - 12.08.2010, 14:47
Re: [TUT] Criando Race-ChecksPoints - by Falcon. - 12.08.2010, 14:52
Re: [TUT] Criando Race-ChecksPoints - by ipsBruno - 12.08.2010, 15:20
Re: [TUT] Criando Race-ChecksPoints - by Falcon. - 12.08.2010, 15:29
Re: [TUT] Criando Race-ChecksPoints - by zSuYaNw - 12.08.2010, 21:03

Forum Jump:


Users browsing this thread: 5 Guest(s)