Wikia

WoWWiki

Changes: API SetTradeMoney

Edit

Back to page

 
Line 5: Line 5:
 
== Arguments ==
 
== Arguments ==
 
; copper : Amount of money, in copper, to offer for trade.
 
; copper : Amount of money, in copper, to offer for trade.
 
   
 
== Example ==
 
== Example ==
 
The following will put {{cost|g=1}} into the trade window:
 
The following will put {{cost|g=1}} into the trade window:
 
SetTradeMoney(1 * 100 * 100);
 
SetTradeMoney(1 * 100 * 100);
  +
  +
== See also ==
  +
* {{api|PickupTradeMoney}}
  +
* {{api|AddTradeMoney}}

Latest revision as of 14:46, March 15, 2010

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

SetTradeMoney(1 * 100 * 100);

See also Edit

Around Wikia's network

Random Wiki