AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Reorder array? (https://forums.alliedmods.net/showthread.php?t=99771)

Exceed 08-09-2009 07:52

Reorder array?
 
How do you reorder an array? Let's say for example i want all the users on the server ordered by kill, then by first letter in username.

I have the arrays PlayerName[32] and PlayerKills[32].

ConnorMcLeod 08-09-2009 08:32

Re: Reorder array?
 
http://en.wikipedia.org/wiki/Heapsort


All times are GMT -4. The time now is 18:20.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.