Hobinbot@legacy41545296 (talk | contribs) (upgraded deprecated template) |
Malcophant35901@legacy41555965 (talk | contribs) m (Fixed typos: Page is API GetTargetTradeMoney but the command listed was API GetPlayerTradeMoney) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} |
{{wowapi}} |
||
− | <center>'''GetPlayerTradeMoney''' ''-Documentation edited by [[Mind]]-''</center> |
||
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. |
||
+ | GetTargetTradeMoney(); |
||
− | GetPlayerTradeMoney(); |
||
---- |
---- |
||
Line 16: | Line 15: | ||
---- |
---- |
||
;''Example'' |
;''Example'' |
||
− | x = |
+ | x = GetTargetTradeMoney(); |
;''Result'' |
;''Result'' |
Revision as of 22:23, 2 August 2008
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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.