Jump to content
McKay Development

i have a problem when i try to add some friends


Ferriar_幽助

Recommended Posts

the following is my code.

client.on('friendRelationship', function (steamID, relationship) {
    if (relationship == SteamUser.Steam.EFriendRelationship.RequestRecipient){
        steamID == "76561198253857131";
        client.addFriend(steamID);
    }
})

for example.my friend's SteamID64 is 76561198253857131.

but the code seems not executed.

how to deal with the pro.

Link to comment
Share on other sites

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