Posts: 2,628
Threads: 32
Joined: Apr 2007
Reputation:
0
Uhm. Do you manually assign them? Cuz in that case, you can just assign them in the order you want? I don't really get the problem here.
Posts: 2,262
Threads: 260
Joined: Mar 2009
Reputation:
0
No I do not manually assign them, the server just looks for an slot ID with the available value as 1. It then fits into the first one...
My example was manually done on what the server COULD produce.
Posts: 758
Threads: 7
Joined: Mar 2011
Reputation:
0
Your example isn't very clear. What do you want to do exactly? Do you want to show a list of all the drugs the player has, sorted by drug type? Or do you want to rearrange the drug types, so they are sorted inside the array?
Posts: 2,628
Threads: 32
Joined: Apr 2007
Reputation:
0
If you could re-upload your script (pastebin expired) I'll try to make something.