The server tells players what each player is wearing. But it is controlled by a private variable. So you can do it with Reflection. I tried it and it works.
BasePlayer.lastValidUnderwearSkin (public uint)
BasePlayer.nextUnderwearValidationTime (private float)
BasePlayer.lastValidUnderwearSkin (public uint)
BasePlayer.nextUnderwearValidationTime (private float)