How can I make it so the driver's seat is locked for a player?
#3

Quote:
Originally Posted by tyler12
Посмотреть сообщение
pawn Код:
public OnPlayerEnterVehicle(playerid,vehicleid,ispassenger)
{
    if(!ispassenger)
    {
        if(IsVehicleCopCar(vehicleid) && RpPlayerInfo[playerid][pFaction] == 0)
        {
            ClearAnimations(playerid);
            SendClientMessage(playerid,-1,"Vehicle locked.");
        }
    }
    return 1;
}
Doesn't work, It lock's all vehicles if the player isn't a cop.
Reply


Messages In This Thread
How can I make it so the driver's seat is locked for a player? - by jueix - 06.08.2013, 14:07
Re: How can I make it so the driver's seat is locked for a player? - by tyler12 - 06.08.2013, 14:09
Re: How can I make it so the driver's seat is locked for a player? - by jueix - 06.08.2013, 14:51

Forum Jump:


Users browsing this thread: 3 Guest(s)