Not allow to enter car.
#4

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(vehicleid == DriversTest)
    {
        if(AllowTakeLCar[playerid] == 1)
        {
            if(IsPlayerInAnyVehicle(playerid))
            {
                SCM(playerid, -1, "Let's start the Drivers test Notes:");
                SCM(playerid, -1, "1. If you hit your car its over.");
                SCM(playerid, -1, "2. You will ride true red I will give a - point.");
                SCM(playerid, -1, "GOODLUCK!!");
            }
        }
        else if(AllowTakeLCar[playerid] == 0)
        {
            SCM(playerid, -1, "Your not taking a test!");
            return RemovePlayerFromVehicle(playerid);
        }
    }
    return 1;
}
Not working.
Reply


Messages In This Thread
Not allow to enter car. - by Mey6155 - 18.05.2014, 12:57
Re: Not allow to enter car. - by Mey6155 - 18.05.2014, 13:17
Re: Not allow to enter car. - by Dziugsas - 18.05.2014, 13:20
Re: Not allow to enter car. - by Mey6155 - 18.05.2014, 13:25
Re: Not allow to enter car. - by [..MonTaNa..] - 18.05.2014, 13:33
Re: Not allow to enter car. - by Mey6155 - 18.05.2014, 13:38

Forum Jump:


Users browsing this thread: 1 Guest(s)