getWearableAvatars

API -

return function()
    local user = getUser('clonzeh');
    if user == nil then
        log('user does not exist!');
        return;
    end
    
    --gets all available avatars to the user
    local availAvatars = user.getWearableAvatars();
    
    local str = '';
    for key, value in pairs(availAvatars) do
        str = str .. value .. ', ';
    end
    
    log('available avatars are: ');
    log(str);
    
end

Last updated