Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetPlayerTradeMoney

Last wiki revision 2022-07-22

Returns the amount of money the player has in the trade window. playerTradeMoney = GetPlayerTradeMoney

  • Arguments
  • (none)
  • Returns
  • playerTradeMoney: : A string in the format of ggggsscc where g is gold, s is silver, and c is copper.

x = GetPlayerTradeMoney;

  • Example
  • Result

This function will return a string "692214", for 69g 22s 14c.

  • Description
  • Retreives the amount of money the current user (you) are giving to another player for a trade session.

Source

https://warcraft.wiki.gg/wiki/API_GetPlayerTradeMoney · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.