Is there a way to...
#3

I think this will do the trick... Not sure because i did not actually test it.
pawn Код:
OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new Vehicle = GetPlayerVehicleID(playerid);
    new string[128];
    for(new i; i < MAX_PLAYERS; i++)
    {
        new driverSeat = GetPlayerVehicleSeat(i);
        if(driverSeat == 0)
        {
            format(string, sizeof(string), "ID: %i is the driver", i);
            SendClientMessage(playerid, 0xFFFFFFF,  string);
        }
    }
}
Reply


Messages In This Thread
Is there a way to... - by Rufio - 08.07.2014, 11:58
Re: Is there a way to... - by Cena44 - 08.07.2014, 12:07
Re: Is there a way to... - by thimo - 08.07.2014, 12:16
Re: Is there a way to... - by Virtual1ty - 08.07.2014, 12:17

Forum Jump:


Users browsing this thread: 1 Guest(s)