i found this;
In some cases, the cramps may be a symptom of another condition or problem. For example:
Some drugs can cause cramps as a side-effect, or make cramps occur more often. These include: diuretics ('water tablets'), nifedipine, cimetidine, salbutamol, statins, terbutaline...