New Question:
How do I create an Link for a currency, ie Valor Points?
I can seem to figure out how to get an ItemId for any currency when even
name, count, extraCurrencyType, icon, itemid = GetBackpackCurrencyInfo(id)
returns nil for currencys???
New Question:
How do I create an Link for a currency, ie Valor Points?
I can seem to figure out how to get an ItemId for any currency when even
name, count, extraCurrencyType, icon, itemid = GetBackpackCurrencyInfo(id)
returns nil for currencys???
If you want a link for a currency by ID, you'd need to use GetCurrencyInfo or GetCurrencyLink, both of which accept currency IDs.
GetBackpackCurrencyInfo, which you used, accepts an index identifying one of the player's watched currencies between 1 and the static global MAX_WATCHED_TOKENS.