Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var handleApi = function(key, callback) {
- $.get('http://www.roblox.com/mobileapi/userinfo', function(data) {
- $.each(objects, function(index, value) {
- if (index == key) {
- callback(value)
- }
- })
- })
- }
- handleApi("RobuxBalance", function(value) {
- console.log(value) //Nothing is logged, not even 'undefined'
- })
Advertisement
Add Comment
Please, Sign In to add comment