Closed mtcamesao closed 11 years ago
Put the trade code inside the OnFriendAdd function, and the remove code inside the OnTradeAccept inside the if successful
Okay but dont I need to get the players steam id somehow?
It is already gotten with the variable OtherSID
Okay I got everything else working but actually getting it to start the trade.
You mean you don't know the command for opening a trade or that the command didn't work for you?
I dont know the command. I've been looking for it with no luck. i wish there was a Wiki :/
Bot.OpenTrade(ID)
Thank you! :] One more thing, is there a place where i can go to see all the commands and what not?
Don't believe so. If you are using Visual Studio, it should prompt you with options while you are typing
Title really says it all. I am using the SimpleUserHandler and what I want it to do is when a player adds the bot it will message them asking for a code. Then when the player types in the code it will trade them. After the trade is complete I want it to remove them from there friends list..
The main issue is I just dont know where to place the code. I haven't wrote in C# since highschool :/