WoW:API SetTradeMoney: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Move page script moved page API SetTradeMoney to API SetTradeMoney without leaving a redirect) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
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 {{cost|g=1}} into the trade window: | |||
SetTradeMoney(1 * 100 * 100); | |||
== See also == | |||
* {{api|PickupTradeMoney}} | |||
* {{api|AddTradeMoney}} | |||
Latest revision as of 04:47, 15 August 2023
← 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 Template:Cost into the trade window:
SetTradeMoney(1 * 100 * 100);