ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getClothesTypes

Function

getClothesTypes

Server and clientClothesTrilogy Hub only

Returns every clothing part as a number -> name table (e.g. [16] = "hat").

Syntax

table getClothesTypes()

Returns

A { [0..17] = name } table.

Example

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

See also