Thread: Sorting
View Single Post
  #12  
Old 11-21-2009, 06:58 PM
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
My problem still isnt fixed. now its only showing the first this.guilds.guildname.kills value, and not the others in the gui.
PHP Code:
public function getTopAbyss(){
  
// Initialize Array and Kills Structure 
  
temp.guildzname getGuildList(); 
  
temp.data ""
  
// Loop and Display Kills 
  
for (temp.gtemp.guildzname) { 
    
temp.kills this.guilds.(@temp.g).kills
    
temp.data.sortbyvalue("kills"nullfalse);
    
temp.data temp."'s kills: " temp.kills
    return 
temp.data;
  } 

And it's not sorting correctly. Its the same as if I didnt include the sortbyvalue at all.
__________________
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...



Last edited by sssssssssss; 11-21-2009 at 07:08 PM.. Reason: another issue
Reply With Quote