- Documentation
- Client functions
- getWornClothes
Function
getWornClothes
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