I still have a few quinine tablets lying around from an old prescription. I take them (rarely) for leg cramps.
you might be low on b vitamins and potassium if you are getting leg cramps, also possibly dehydrated