> ## Documentation Index
> Fetch the complete documentation index at: https://rust-co.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Wardrobe entegrasyonları

> RCO kayıtlı outfitlerini ev, otel, kamp ve özel interiorlardan açın.

Housing/otel scriptiniz oyuncunun wardrobe kullanma **yetkisini** kontrol eder. RCO UI, kayıtlı outfitler ve persistence tarafını yönetir.

## Server export kullanın

```lua theme={"dark"}
local ok = exports['rco-appearance']:OpenWardrobe(source)
```

`OpenWardrobe` her zaman `wardrobe` modunu açar. **Tailor shopSession oluşturmaz ve yeni kıyafet satın alma yetkisi vermez.**

## Otel örneği

```lua theme={"dark"}
RegisterNetEvent('my-hotel:server:openWardrobe', function(roomId)
    local src = source
    if not PlayerCanUseRoomWardrobe(src, roomId) then return end
    exports['rco-appearance']:OpenWardrobe(src)
end)
```

Kaydedilebilir editor oturumu server tarafından yetkilendirilmelidir. Client kendine bu yetkiyi veremez; client-side persistent open `server_authorization_required` döndürür.

Böylece tailor, otel, ev ve kamp aynı RCO kayıtlı outfitlerini kullanır.
