Skip to main content

getPlayerAllOutfits

exports["RiP-Clothing"]:getPlayerAllOutfits(filter) 

This function returns all outfits of an player

Arguments

NameTypeOptionalExplanation
filterIntegerNofilter id (0 = private, 1 = public)

Returned Table

NameTypeExplenation
outfitsTableoutfits 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