23.09.2015, 20:07
pawn Код:
new dialog[ 512 ];
new tmpLineString[ 92 ];
format(dialog, sizeof dialog, "Name\tScore\n"); //Set the header once
foreach(new i: Player)
{
format(tmpLineString, sizeof tmpLineString, "%s%s\t%d\n", GetPlayerNameEx(i), pInfo[i][pScore]);
strins(dialog, tmpLineString, strlen(dialog)); //Update body as many times needed without touching the header
}