getCurrency

API - gets the target User's currency value

return function()
    local findUser = getUser('clonzeh');
    
    if findUser ~= nil then
        local balance = getCurrency(findUser);
        log(findUser.displayName .. ' has: ' .. balance);
    else
        log('could not find target user');
    end
    
end
User

Last updated