I'm not sure if 3ds max can save animations into .gif, but i'm sure there are other programs which can turn image sequences or videos into .gif, so maybe try that. What do you want to achieve with an animated gif anyway, they're not very efficient and quality is quite low, personally I would try something else, maybe a normal video filetype like .avi, .mov or flash.