Otaxi is the way. Very cheap. But to add to what puchong mentions above, if you're in some of the hotels further out of the city (e.g. Shangri-La, Jumeirah Muscat Bay etc) then you'll have to pay a fortune for hotel cars unless you arrange something in advance...