View Single Post
  #6  
Old 12-04-2012, 03:28 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
PHP Code:
// now set sort value 3 item in array and sort by that value for new array list
  
for (temp.l = 0; temp.l < temp.allValues.size(); temp.l++) { 
    
temp.allValues[temp.l].sort_by = temp.allValues[temp.l][2]; 
  } 
  
temp.allValues.sortbyvalue("sort_by", "float", true); 

That little guy : sortbyvalue, solved it. I added all client arrays into a temp, then set to sort by the timevar held in multidem array id 2 of each, then sortbyvalue.


Maybe it's not how other people would have done it, but it's not a bad way and it works, and now messages can be separated for my anal organization instead of all in one value holder.
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote