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

pawn Код:
public OnPlayerEnterVehicle(playerid,vehicleid,ispassenger)
{
    if(!ispassenger)
    {
        if(IsVehicleCopCar(vehicleid) && RpPlayerInfo[playerid][pFaction] == 0)
        {
            ClearAnimations(playerid);
            SendClientMessage(playerid,-1,"Vehicle locked.");
        }
    }
    return 1;
}
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: 1 Guest(s)