[PEDIDO]cmd's
#3

Quote:
Originally Posted by [O.z]Caroline
Посмотреть сообщение
1 - Adicione isto no OnVehicleExit:
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerInVehicle(i, vehicleid) && GetPlayerState(i) == PLAYER_STATE_PASSENGER)
        {
            RemovePlayerFromVehicle(i);
        }
    }
    return 1;
}
hг? isso й quando ele sai do carro... entao esse codigo n vai adiantar de muita coisa considerando q ele ja ta saindo do carro entao "Quando o player sair do carro > remova do carro" n tem logica isso.

quando um passageiro sair do carro todos vao sair inclusive o motorista.

Код:
This forum requires that you wait 120 seconds between posts. Please try again in 1 seconds
de primeira tentativa --'

@edit o motorista n sai, mas os outros passageiros saem.
Reply


Messages In This Thread
[PEDIDO]cmd's - by Moskito - 17.09.2011, 17:40
Re: [PEDIDO]cmd's - by [O.z]Caroline - 17.09.2011, 17:48
Re: [PEDIDO]cmd's - by Pharrel - 17.09.2011, 17:51
Re: [PEDIDO]cmd's - by [O.z]Caroline - 17.09.2011, 17:54
Re: [PEDIDO]cmd's - by Pharrel - 17.09.2011, 17:55
Re: [PEDIDO]cmd's - by [O.z]Caroline - 17.09.2011, 17:58

Forum Jump:


Users browsing this thread: 1 Guest(s)