money format gold etc coins
i want to format the money string to break up large numbers and have the coin icons in the string,this is what i have,it works but need the method to add the icons
Code:
function GetGoldTextureString(value) |
Code:
return calc.."|TInterface\\MoneyFrame\\UI-GoldIcon:0:0:2:0|t "..silver.."|TInterface\\MoneyFrame\\UI-SilverIcon:0:0:2:0|t "..copper.."|TInterface\\MoneyFrame\\UI-CopperIcon:0:0:2:0|t" For more information on escape sequences, See [Another awesome page btw, greatly appreciated] |
Format money string
I use the GetCoinTextureString for this.
|
Quote:
http://wowprogramming.com/docs/api/G...ureString.html |
Quote:
Code:
local copper, silver, gold, calc, ccoin, scoin, gcoin |
Quote:
|
Quote:
|
All times are GMT -6. The time now is 08:20 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI