There's no way to know for sure, but it's likely that you can't smell discharge through your pants. Odors are typically strongest when they're coming from the source, and if your discharge is on your underwear, it's unlikely that you'll be able to smell it through your pants.