SetTradeMoney

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

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

SetTradeMoney(copper)

Arguments

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

Example

The following will put 1g into the trade window:

SetTradeMoney(1 * 100 * 100);

See also