SA-MP Forums Archive
Order by Alphabetical - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Order by Alphabetical (/showthread.php?tid=617670)



Order by Alphabetical - MerryDeer - 24.09.2016

Hi,

I have variable where i store names

new Variable[ MAX_PLAYERS ][ MAX_PLAYER_NAME ];


And i want to sort by Alphabetical that string, how can i do that? also i want to only sort not empty strings like

Код:
foreach(new i : Player)
{
  if( !isnull( Variable[ i ] ) )
{
    
}
And too i want i have other variables


new VariableData[ MAX_PLAYERS ][ 40 ];


I also want when i sort Alphabetical by names, also that sorting affect variabledata it go with Variable
}


Re: Order by Alphabetical - SickAttack - 24.09.2016

I remind you that this section isn't for requests.