SerweryWłasny serwerDla twórcówForumFAQDokumentacjaBezpieczeństwo
Pobierz launcher
  1. Dokumentacja
  2. Funkcje klienta
  3. getClothesModels

Funkcja

getClothesModels

KlientUbraniaTylko Trilogy Hub

Zwraca nazwy modeli, które gra ma dla danej części ubioru.

Składnia

table getClothesModels(int|string clothesType)

Argumenty

clothesTypeint|string
Część ubioru 0-17 albo nazwa.

Zwraca

Tablica nazw modeli albo false.

Przykład

for _, model in ipairs(getClothesModels("hat") or {}) do
    outputChatBox(model)
end

Zobacz też