Jump to content

Problem with getPedClothes


joaosilva099

Recommended Posts

Please guys, tell me what is wrong... I can't output that!

addCommandHandler("getClothes", function (source) 
clothesmodel = {} 
clothestxt = {} 
skin = getElementModel(source) 
if(skin == 0) then 
    for i=0, 17 do 
        ct, cm = getPedClothes(source, i) 
        table.insert(clothesmodel, cm) 
        table.insert(clothestxt, ct) 
    end 
end 
stringr = tostring(table.concat(clothesmodel, ", ")).." | "..tostring(table.concat(clothestxt, ", ")) 
outputChatBox(stringr) 
end) 

DS3:

Invalid value (boolean) at index 5 in table for 'concat'

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...