void CPedRPCs::RemovePedClothes ( CClientEntity* pSource, NetBitStreamInterface& bitStream ) { unsigned char ucType; if ( bitStream.Read ( ucType ) ) { CClientPed* pPed = m_pPedManager->Get ( pSource->GetID (), true ); if ( pPed ) { CClientPlayerClothes* pClothes = pPed->GetClothes (); if ( pClothes->RemoveClothes ( ucType, false ) ) { pPed->RebuildModel ( true ); } } } }