WoW API: SetTradeMoney

From AddOn Studio
Jump to navigation Jump to search

WoW API < SetTradeMoney

Sets the amount of money offered as part of the player's trade offer.

SetTradeMoney(copper);

Arguments

copper
Amount of money, in copper, to offer for trade.

Example

The following will put Template:Cost into the trade window:

SetTradeMoney(1 * 100 * 100);

See also