I have a SERIOUS problem and i would REALLY apreciate any possible help, my dad gave me his 99 sonata GLS V6 and said if u can fix it its urs, if not to the scapper... and i love the car to much to let it go, besides... i need a car

... anyways... enuff babble... The problem with the car is... or was, that when u turn on the air conditioner it would overheat, badly... that led to some other minor problems... and now the car idles VERY ruff, and the cars still overheats for the smallest reasons ( note* i live in Puerto Rico and its DAM hot here so i NEED the a/c and that kinda makes the care overheat faster... ) again with the babble sorry... anyways, i checked the belts and there all good so with the little i know bout cars i THINK its either the compressor or the thermostat... or somewhere along the lines, im no mecanik so i can be wrong... anybody got any help?... PPLLSSS