[Ajuda] error 017: undefined symbol "i"
#3

Vocк fez o Loop ?
pawn Код:
for(new i; i < MAX_PLAYERS; i++) {
    if(Velocidade(i) >= 120 && GetPlayerState(i) == PLAYER_STATE_DRIVER && InAutoEscola[playerid] == 1)//Aqui adicione tambйm a variбvel para ver se o player estб no teste, й sу colocar a variбvel depois do sinal '&&' que coloquei no final
    {
        if(PassouLimite(i) >= 3)
        {
            //Aqui suas funзхes para ele repitir o teste
            SendClientMessage(playerid, -1, "Vocк rodou no teste, motivo: passou de 120KM 3 vezes");
            PassouLimite(i) = 0;
            return 1;
        }
        SendClientMessage(playerid, -1, "Vocк passou do limite excedido");
        PassouLimite(i) += 1;
    }
}
Reply


Messages In This Thread
error 017: undefined symbol "i" - by Pablo_Mantega - 20.01.2014, 14:27
Re: error 017: undefined symbol "i" - by Gii - 20.01.2014, 14:34
Re: error 017: undefined symbol "i" - by FallweN - 20.01.2014, 14:34
Re: error 017: undefined symbol "i" - by Pablo_Mantega - 20.01.2014, 14:45
Re: error 017: undefined symbol "i" - by FallweN - 20.01.2014, 14:49
Re: error 017: undefined symbol "i" - by Pablo_Mantega - 20.01.2014, 14:49
Re: error 017: undefined symbol "i" - by Gii - 20.01.2014, 14:52
Re: error 017: undefined symbol "i" - by FallweN - 20.01.2014, 14:53

Forum Jump:


Users browsing this thread: 1 Guest(s)