WoW:API GetPlayerTradeMoney: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(upgraded deprecated template)
Line 1: Line 1:
{{wowapi}}
<center>'''GetPlayerTradeMoney''' ''-Documentation edited by [[Mind]]-''</center>
<center>'''GetPlayerTradeMoney''' ''-Documentation edited by [[Mind]]-''</center>


Line 23: Line 24:
;''Description''
;''Description''


: Retreives the amount of money the current user (you) are giving to another player for a trade session.  
: Retreives the amount of money the current user (you) are giving to another player for a trade session.
 
----
 
{{Template:WoW API}}

Revision as of 18:12, 6 January 2007

WoW API < GetPlayerTradeMoney

GetPlayerTradeMoney -Documentation edited by Mind-

Gets the amount of money in the trade window for the current 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 current user (you) are giving to another player for a trade session.