You can breathe underwater when doing animations.

This might be a SA-MP bug and not associated with the script I think
I can't 'fix' this but I will disable animations while swimming/underwater.