[Ajuda] Nгo executando a funcao
#5

Quote:
Originally Posted by Serjnrg
Посмотреть сообщение
Dб isso
pawn Код:
warning 213: tag mismatch
Linha
pawn Код:
if(!dini_Int(file2, "Profissao") == Caminhoneiro)
Ola

Tenta assim;

pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
{
    for(new i = 0; i < MAX_CARS; i++)
    {
        if(MAX_CARS == caminhoes[i])
        {
            if(dini_Int(file2, "Profissao") == Caminhoneiro)
            {
                return 1;
            }
            else
            {
                SendClientMessage(playerid, 0xD900D3FF, "Apenas caminhoneiros podem utilizar este veiculo.");
                RemovePlayerFromVehicle(playerid);
            }
        }
    }
}
Reply


Messages In This Thread
Nгo executando a funcao - by Serjnrg - 21.04.2013, 14:47
Re: Nгo executando a funcao - by PT - 21.04.2013, 15:25
Re: Nгo executando a funcao - by MegalodoN - 21.04.2013, 15:29
Re: Nгo executando a funcao - by Serjnrg - 21.04.2013, 15:53
Re: Nгo executando a funcao - by PT - 21.04.2013, 16:17
Re: Nгo executando a funcao - by Serjnrg - 21.04.2013, 16:18
Re: Nгo executando a funcao - by Don_Speed - 21.04.2013, 16:18

Forum Jump:


Users browsing this thread: 1 Guest(s)