WoW:API GetTargetTradeMoney: Difference between revisions
Jump to navigation
Jump to search
(upgraded deprecated template) |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
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. | ||
Revision as of 21:59, 16 January 2008
← WoW API < GetTargetTradeMoney
Gets the amount of money in the trade window for the target user.
GetPlayerTradeMoney();
- Arguments
- (none)
- Returns
Returns a string in the format of ggggsscc where g is gold, s is silver, and c is copper.
- Example
x = GetPlayerTradeMoney();
- 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.