SerweryWłasny serwerDla twórcówForumFAQDokumentacjaBezpieczeństwo
Pobierz launcher
  1. Dokumentacja
  2. Funkcje wspólne
  3. getClothesTypes

Funkcja

getClothesTypes

Serwer i klientUbraniaTylko Trilogy Hub

Zwraca wszystkie części ubioru jako tabelę numer -> nazwa (np. [16] = "hat").

Składnia

table getClothesTypes()

Zwraca

Tabela { [0..17] = nazwa }.

Przykład

for id, name in pairs(getClothesTypes()) do
    outputServerLog(id .. " = " .. name)
end

Zobacz też