Techniques/solutions for muscle cramps

Just curious, but is quinine still effective as an anti-malarial? And if so, how?