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

Function

getWornClothes

ClientClothesTrilogy Hub only

Returns what the game actually put on the local ped: a part -> "texture|model" table. Useful to check whether clothing from the server arrived.

Syntax

table getWornClothes()

Returns

A { [part] = "texture|model" } table or false.

Example

for part, item in pairs(getWornClothes() or {}) do
    outputChatBox(part .. ": " .. item)
end

See also