If your car’s AC is not working, there can be many reasons. However, it does not affect the heater at all. The heater and your car’s AC have only one mutual component: the fan. Apart from the fan, your car’s AC and no other component can affect the heater.