30.10.2009, 11:51
Use GetPlayerVehicleSeat to check if exiting player was on the driver seat (seat-ID 0) and put him back into this vehicle.
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
if(GetPlayerVehicleSeat(playerid) == 0) PutPlayerInVehicle(playerid, vehicleid, 0);
return 1;
}