Who is trading with me?
I have having an issue finding a function or event that will tell me WHO is trading with me if they open the trade up. Wow wiki tells me that TRADE_REQUEST no longer works (and I have tryed it too). Does anyone know of a way to tell who is trading with the player? The onyl way I can think of doing it without a function or event would be to read the text in the trade window somehow, but I dont know the frame's name nor the object that would be under.
Thanks in andvance for anyone that can help. Em |
You can use the "TRADE_SHOW"-Event. The name of the player who is trading with you is UnitName("NPC").
Code:
function WhoIsTrading_OnLoad() |
thanks. I will give it a shot tonight
|
All times are GMT -6. The time now is 01:18 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI