For the complete documentation index, see llms.txt. This page is also available as Markdown.

Undress clothes

How to fix the "Undress" button when replace clothing packs break it.

Most servers won't need this. Only follow these steps if clicking "Undress" in a shop puts random clothes on your ped instead of removing them.


Why it happens

Some replace clothing packs override the clothing ID that represents a "naked" ped. When you hit Undress, the script applies that ID - but now it shows the replacement clothes instead of nothing.


How to fix

1

Find the correct "naked" item

  1. Enable Admin Mode and turn on Stock Management.

  2. Go to the category where Undress is broken (e.g. Pants).

  3. Browse until you find the item that makes your ped look undressed.

  4. Click it to preview, then scroll down in Admin Mode and copy the Previewed item hash.

2

Update the config

  1. Open rcore_clothing/configs/config_default.lua.

  2. Find Config.UnsetCards and locate the correct ped table:

    • Male: mp_m_freemode_01

    • Female: mp_f_freemode_01

  3. Replace the hash for the broken category with your copied hash.

Example - fixing Pants for the male ped:

Restart the script after saving.

Last updated