Black Ops III

IsPlayerUnderwater

Return if a player is underwater

Example:

depth = get_players()[0] IsPlayerUnderwater()