03.03.2012, 21:42
Olha, eu ainda sou novato em pawn, mais tenta assim
PHP код:
if(!strcmp("/rank", cmdtext, true))
{
new Scor[MAX_PLAYERS],
new string[128],
new Nome[24]
;
for(new i; i != MAX_PLAYERS; ++i) Scor[i] = GetPlayerScore(i);
BubbleSort(Scor, sizeof(Scor));
for(new i; i != 10; i++)
{
GetPlayerName(playerid, Nome, 24);
format(string, sizeof(string),"NЄ %i Nome: %s Level: %d", i+1, Nome, Scor[i]);
SendClientMessage(playerid, -1, string);
}
return 1;
}