How do i fix the items in the shop just going randomly everywhere instead of in a neat line under the correct guns, right now if i scroll threw i got shotguns on top of the list, middle and bottem
Printable View
How do i fix the items in the shop just going randomly everywhere instead of in a neat line under the correct guns, right now if i scroll threw i got shotguns on top of the list, middle and bottem
By default the shop sould sort by how the shop xml has the ids sorted.
Otherwise it might sort for ids in zitem.
So it helps to keep weapons in certain ranges, say katanas 1-100, daggers 101-200 and so on.
gotcha well i have been randomly adding stuff to the shop.xml so that could explain it, not sure i wanna spend the time putting the numbers in order lol
will give it a shot ty for the advice
I thought the shop was organized by the IDs ASC and weapon type ASC.
well it is through the ID's as far as i can tell, they just have everything so jumbled up in the beginning of the zitem that i would have to push other numbers out to make them in order perfectly.. have not figure it out just yet..
Woops, I meant to say they are normally organized by weapon type.