[Ajuda] Conchets
#1

Pawn Compiler Library parou de funcionar
Meu GM eo BML
//ultima atualizaзгo do gamemode coloquei por cima do antigo mais ainda aparece erros em.
if(newstate == PLAYER_STATE_DRIVER)


Quote:

else if(IsAAlCar(newcar))
{
if(!IsAAl(playerid))
{
SendClientMessage(playerid, COR_AL, "Vocк nгo й da Al'Qaeda, por isso nгo tem a chave desse veнculo !");
RemovePlayerFromVehicleEx(playerid);
}
}
else if(IsAFARCCar(newcar))
{
if(!IsAFARC(playerid))
{
SendClientMessage(playerid, COR_FARC, "Vocк nгo й da F.A.R.C, por isso nгo tem a chave desse veнculo !");
RemovePlayerFromVehicleEx(playerid);
}
}

// Vi esse Topico Ja: https://sampforum.blast.hk/showthread.php?tid=333816
//Uso o missing brackets finder so nгo sei mexe muito bem
Reply
#2

pawn Код:
else if(IsAAlCar(newcar))
    {
        if(!IsAAl(playerid))
        {
            SendClientMessage(playerid, COR_AL, "Vocк nгo й da Al'Qaeda, por isso nгo tem a chave desse veнculo !");
            RemovePlayerFromVehicleEx(playerid);
        }
    }
    else if(IsAFARCCar(newcar))
    {
        if(!IsAFARC(playerid))
        {
            SendClientMessage(playerid, COR_FARC, "Vocк nгo й da F.A.R.C, por isso nгo tem a chave desse veнculo !");
            RemovePlayerFromVehicleEx(playerid);
        }
    }
?
Reply
#3

Tu sу organizou o cуdigo Felipe!
Reply
#4

Qual й o problema

@Edit, alguma chave ai tu acrescentou ou nгo fechou ou verso. Tambйm tenta colocar teu pawno em compatibilidade.

Ja aconteceu isso comigo em meu gamemode, sу mudei a compatibilidade dele
Reply
#5

Isso

pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
{
    if(IsAAlCar(newcar))
    {
        if(IsAAl(playerid))
        {
            return 1;
        }
        else
        {
            SendClientMessage(playerid, COR_AL, "Vocк nгo й da Al'Qaeda, por isso nгo tem a chave desse veнculo !");
            RemovePlayerFromVehicle(playerid);
        }
    }
    else if(IsAFARCCar(newcar))
    {
        if(IsAFARC(playerid))
        {
            return 1;
        }
        else
        {
            SendClientMessage(playerid, COR_FARC, "Vocк nгo й da F.A.R.C, por isso nгo tem a chave desse veнculo !");
            RemovePlayerFromVehicle(playerid);
        }
    }
    return 0;
}
Pelo menos tentei poder ajudar :S
Reply
#6

Quote:
Originally Posted by PT
Посмотреть сообщение
Isso

pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
{
    if(IsAAlCar(newcar))
    {
        if(IsAAl(playerid))
        {
            return 1;
        }
        else
        {
            SendClientMessage(playerid, COR_AL, "Vocк nгo й da Al'Qaeda, por isso nгo tem a chave desse veнculo !");
            RemovePlayerFromVehicle(playerid);
        }
    }
    else if(IsAFARCCar(newcar))
    {
        if(IsAFARC(playerid))
        {
            return 1;
        }
        else
        {
            SendClientMessage(playerid, COR_FARC, "Vocк nгo й da F.A.R.C, por isso nгo tem a chave desse veнculo !");
            RemovePlayerFromVehicle(playerid);
        }
    }
    return 0;
}
Pelo menos tentei poder ajudar :S
Pawn Compiler Library parou de funcionar =D mais vlw
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)