Wikia

WoWWiki

Changes: API GetTargetTradeMoney

Edit

Back to page

m
m (Fixed typos: Page is API GetTargetTradeMoney but the command listed was API GetPlayerTradeMoney)
 
Line 3: Line 3:
 
Gets the amount of money in the trade window for the target user.
 
Gets the amount of money in the trade window for the target user.
   
GetPlayerTradeMoney();
+
GetTargetTradeMoney();
   
 
----
 
----
Line 15: Line 15:
 
----
 
----
 
;''Example''
 
;''Example''
x = GetPlayerTradeMoney();
+
x = GetTargetTradeMoney();
   
 
;''Result''
 
;''Result''

Latest revision as of 22:23, August 2, 2008

WoW API < GetTargetTradeMoney

Gets the amount of money in the trade window for the target user.

GetTargetTradeMoney();

Arguments
(none)

Returns

Returns a string in the format of ggggsscc where g is gold, s is silver, and c is copper.


Example
x = GetTargetTradeMoney();
Result

This function will return a string "692214", for 69g 22s 14c.


Description
Retreives the amount of money the target user is giving to the current user (you) for a trade session.

Around Wikia's network

Random Wiki