getWearableNametags

API -

return function()
    local user = getUser('clonzeh');
    if user == nil then
        log('user does not exist!');
        return;
    end
    
    --checks available nametags the user has
    local availNametags = user.getWearableNametags();
    
    local str = '';
    for key, value in pairs(availNametags ) do
        str = str .. value .. ', ';
    end
    
    log('available nametags are: ');
    log(str);
    
end

Last updated