stock IsPlayerInWater(playerid){ new animlib[32],tmp[32]; GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,32,tmp,32); if(!strcmp(animlib, "SWIM") && !IsPlayerInAnyVehicle(playerid)) return true; return false;}