[AJUDA] Carros VIP
#4

pawn Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER)//se o state й driver, condutor
    {
        if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562)//se o modelo й 562, elegy
        {
            if(PlayerInfo[playerid][VIP] != 1)//se nao й vip
            {
                RemovePlayerFromVehicle(playerid);//ejecta do carro
            }
        }
    }
    return 1;
}
entendeu agora?
Reply


Messages In This Thread
[AJUDA] Carros VIP - by marcos5680 - 20.06.2011, 22:40
Re: [AJUDA] Carros VIP - by DartakousLien - 20.06.2011, 22:48
Respuesta: Re: [AJUDA] Carros VIP - by marcos5680 - 20.06.2011, 22:51
Re: [AJUDA] Carros VIP - by DartakousLien - 20.06.2011, 22:56
Respuesta: Re: [AJUDA] Carros VIP - by marcos5680 - 20.06.2011, 23:23
Re: [AJUDA] Carros VIP - by [SamP]Knife - 21.06.2011, 01:37
Respuesta: Re: [AJUDA] Carros VIP - by marcos5680 - 21.06.2011, 16:07
Re: [AJUDA] Carros VIP - by DartakousLien - 21.06.2011, 19:47
Re: [AJUDA] Carros VIP - by mengueh - 21.06.2011, 20:07

Forum Jump:


Users browsing this thread: 1 Guest(s)