08.07.2014, 12:16
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);
}
}
}

