Jump to content
McKay Development

MakeCodeNotWar

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by MakeCodeNotWar

  1. McKay, thanks for answering, but I just don`t get it, my acc is logged, i`m trying to send offer for my friend, to get his item, but i get an error: some bla-bla + "In order to protect the items in your inventory, you will be unable to trade from this device for 7 days.", but in my steamcommunity i could send it.

    My code: 

    var offer = manager.createOffer("[U:1:STEAMID]");									
    		offer.addTheirItem({"appid": 570, "contextid": 2, "assetid": "247762039"});		
    		offer.send("Hi there", "TOKEN", function(err, status) {					
    		    if (err) {
    		        console.log("There`s an error: " + err);
    		    } else {
    		        console.log("Offer #" + offer.id + " " + status);
    		    }
    	});
    

    STEAMID - my friend steamID.

    TOKEN - his token from Trade Link.
    I begging you, please mate, tell me what am I doing wrong, cause my head gonna be crashed soon.

  2. var offer = manager.createOffer("[U:1:46143802]");
    offer.addMyItem({"appid": 440, "contextid": 2, "assetid": "1234567890"});
    offer.send("Hi there", "KYworVTM", function(err, status) {
        if (err) {
            console.log(err);
        } else {
            console.log("Offer #" + offer.id + " " + status);
        }
    });

    Something like that, where [u:1:46143802] is my SteamID and KYworVTM is my trade token.

     

    Hi there McKay. Im not strong in JS as you, so could u help, i just need an example like that, but if i want to recieve items from another person. Thanks you, mate, for all job that you`ve done!

×
×
  • Create New...