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

Function

getClothesTypeNames

Server and clientClothesTrilogy Hub only

Returns descriptive clothing part names (e.g. [0] = "Shirt", [4] = "Tattoos Left upper arm", [16] = "Hats").

Syntax

table getClothesTypeNames()

Returns

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

Example

local names = getClothesTypeNames()
outputServerLog(names[15]) -- Glasses

See also