WoW API: SetTradeMoney

From AddOn Studio
Jump to navigation Jump to search
Reference 

WoW API < SetTradeMoney

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

SetTradeMoney(copper);

Arguments[edit]

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

Example[edit]

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

SetTradeMoney(1 * 100 * 100);

See also[edit]