Jump to content
McKay Development

Recommended Posts

Posted

This is demo code :

user.on('tradeRequest', function(steamID, respond) {
    console.log("Incoming trade request from " + steamID.getSteam3RenderedID() + ", accepting");
    respond(true);
});

I want addFriend when user trade request ? But event tradeRequest not Emitted ? Please help me ! Thanks

Posted

You've provided no details, but I can hazard a guess and say that tradeRequest isn't what you're looking for. It's emitted when a Steam real-time trading request is received, not when a trade offer is received.

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...