Jump to content
McKay Development

Recommended Posts

Posted

Is there a way i can get my partners steamid from a offer object?

 

I've tried the following.

manager.on('newOffer', function(offer){
	offer.getUserDetails(function(err,me,them){
		console.log(me);
		console.log(them);
	});
});

This prints out like the games they have and stuff but I need a way to get their steamid to check if the user is banned on bp.tf or other trading websites.

also if you print the offer object you get something like this.

partner: SteamID { universe: 1, type: 1, instance: 1, accountid: someidhere },

what is accountid and does it do anything?

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...