API SetTradeMoney

From Wowpedia
Jump to: navigation, search

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 1g into the trade window:

SetTradeMoney(1 * 100 * 100);

See also