getPlayerAllOutfits
exports["RiP-Clothing"]:getPlayerAllOutfits(filter)
This function returns all outfits of an player
Arguments
Name | Type | Optional | Explanation |
---|---|---|---|
filter | Integer | No | filter id (0 = private, 1 = public) |
Returned Table
Name | Type | Explenation |
---|---|---|
outfits | Table | outfits list |
Example
local outfits = exports["RiP-Clothing"]:getPlayerAllOutfits(filter)
for k,v in pairs(outfits) do
print("Outfit Id: ", v.id, "Outfit skin data", json.encode(v.skin))
end