WoW:API SetTradeMoney: Difference between revisions

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


Line 22: Line 23:


: Drops the <amount> of money (in copper pieces) into the trade window.
: Drops the <amount> of money (in copper pieces) into the trade window.
----
{{Template:WoW API}}

Revision as of 18:12, 6 January 2007

WoW API < SetTradeMoney

SetTradeMoney -Documentation by Emperorlou-

Arguments
amount - Amount of money to drop in the trade window in copper.

Returns
nil

Example

This example will drop in 1 gold.

SetTradeMoney(10000);
Result

Description
Drops the <amount> of money (in copper pieces) into the trade window.