mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{wowapi}} |
{{wowapi}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
− | ---- |
||
+ | ; copper : Amount of money, in copper, to offer for trade. |
||
⚫ | |||
− | :''amount - Amount of money to drop in the trade window in copper.'' |
||
⚫ | |||
− | ---- |
||
+ | The following will put {{cost|g=1}} into the trade window: |
||
− | ;''Returns'' |
||
+ | SetTradeMoney(1 * 100 * 100); |
||
− | |||
− | :;nil |
||
− | |||
− | ---- |
||
⚫ | |||
− | This example will drop in 1 gold. |
||
⚫ | |||
− | |||
− | ;''Result'' |
||
− | |||
− | ---- |
||
− | ;''Description'' |
||
− | |||
⚫ |
Revision as of 14:45, 15 March 2010
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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 1 into the trade window:
SetTradeMoney(1 * 100 * 100);