WoW API: SetTradeMoney
← WoW API < SetTradeMoney
Sets the amount of money offered as part of the player's trade offer.
SetTradeMoney(copper);
ArgumentsEdit
- copper
- Amount of money, in copper, to offer for trade.
ExampleEdit
The following will put Template:Cost into the trade window:
SetTradeMoney(1 * 100 * 100);