[Ajuda] Erro no IsPlayerInVehicle
#5

Quote:
Originally Posted by WendeLKILL
Посмотреть сообщение
Que tipo de erro? como ele falou,para ser em qualquer veiculo mude
pawn Код:
if(IsPlayerInVehicle(playerid, 1)
para
pawn Код:
if(IsPlayerInVehicle(playerid))
Tipo, nгo й erro ao compilar. Pela lуgica, SE o player estiver dentro do veнculo de ID 1, envie a mensagem ao player. Mas nгo й o que acontece... Eu estando dentro ou fora do veнculo de ID 1, retorna a mensagem de erro(mensagem que aparece quando nгo existe o comando).

Jб tentei colocar um ELSE, mas tambйm nгo funcionou...
Код:
if(strcmp(cmdtext, "/oixau", true) == 0)
    {
        if(IsPlayerInVehicle(playerid, 1))
        {
            SendClientMessage(playerid, -1, "dentro");
        }
        else
        {
            SendClientMessage(playerid, -1, "fora");
        }
        return 1;
    }
Reply


Messages In This Thread
Erro no IsPlayerInVehicle - by RafaelOsio - 18.01.2015, 00:22
Re: Erro no IsPlayerInVehicle - by Rodney Francalim - 18.01.2015, 00:26
Re: Erro no IsPlayerInVehicle - by RafaelOsio - 18.01.2015, 00:36
Re: Erro no IsPlayerInVehicle - by WendeLKILL - 18.01.2015, 00:41
Re: Erro no IsPlayerInVehicle - by RafaelOsio - 18.01.2015, 00:46
Re: Erro no IsPlayerInVehicle - by RafaelOsio - 18.01.2015, 01:28
Re: Erro no IsPlayerInVehicle - by #Luca[S]. - 18.01.2015, 02:17
Re: Erro no IsPlayerInVehicle - by RafaelOsio - 18.01.2015, 11:15

Forum Jump:


Users browsing this thread: 1 Guest(s)