function getNumberSeatByChar(car, ped)
if doesVehicleExist(car) then
local max = getMaximumNumberOfPassengers(car)
for i = 1, max do
if not isCarPassengerSeatFree(car, i) then
if getCharInCarPassengerSeat(car, i) == ped then
return true, i
end
end
end
end
return false
end