ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. getClothesModels

Function

getClothesModels

ClientClothesTrilogy Hub only

Returns the model names the game has for a clothing part.

Syntax

table getClothesModels(int|string clothesType)

Arguments

clothesTypeint|string
Clothing part 0-17 or a name.

Returns

A table of model names or false.

Example

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

See also