Jump to content
McKay Development

root

Member
  • Posts

    2
  • Joined

  • Last visited

Posts posted by root

  1. Hello, 

     

    If my Bot accept the friendsrequest the Bot is spamming in the console:
    Accepted friendrequest from: "steamID" s

    testamID

    client.on('friendRelationship', (steamid, relationship) => {
        
            console.log("Accepted friendrequest from: " + steamid);
            client.addFriend(steamid);
            
    });

    How can I fix it to just 1 console Log for every new Friend? 

    Greetings

×
×
  • Create New...