fre
2011-08-08 22:39:04
Hey all, it is pretty late, i have been searching for this solution for the last 2 hours.
Can't seem to find anything solid.
I am searching for a function that returns the highest value of a specified item in your bank
eg:
i have 1200 iron ores, 300 coal ores, 500 mithril ores:
it should give: iron and mith ores
Can't seem to find anything solid.
I am searching for a function that returns the highest value of a specified item in your bank
eg:
i have 1200 iron ores, 300 coal ores, 500 mithril ores:
it should give: iron and mith ores
Function HighestAmmountItemStackSize(items: TBankItemArray): TBankItem
[\code]
And i actually need the 2 items with the biggest stack size.
But that i can do by just letting the function run again but use ClearTPAfromTPA or some other minor adjustment.
~Fre