Jump to content


Photo
Question

Getting user's name on a sent trade

node.js node-steam-tradeoffer-manager

  • Please log in to reply
1 reply to this topic

#1 Meshi8

Meshi8

    Member

  • Member
  • PipPip
  • 13 posts

Posted 11 February 2019 - 01:36 AM

Hey,

 

so I'm trying to get user's personaName in a sent trade offer.

 

I'm pretty sure I'm doing this right, but I can't figure out what's causing the error..

manager.on("sentOfferChanged", (OFFER, OLDSTATE) => {
	
	OFFER.getUserDetails((err, me, them) => {
               theirname = them.personaName;
		console.log(theirname);	

});
});


#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,038 posts

Posted 11 February 2019 - 11:58 PM

What error?







Also tagged with one or more of these keywords: Question, node.js, node-steam-tradeoffer-manager

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users