Tablist Headers Help
#2

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
}
Reply


Messages In This Thread
Tablist Headers Help - by dionisak0s - 23.09.2015, 19:48
Re: Tablist Headers Help - by [XST]O_x - 23.09.2015, 20:07
Re: Tablist Headers Help - by dionisak0s - 24.09.2015, 07:07
Re: Tablist Headers Help - by [XST]O_x - 24.09.2015, 20:16
Re: Tablist Headers Help - by dionisak0s - 25.09.2015, 15:01
Re: Tablist Headers Help - by dionisak0s - 10.10.2015, 11:31
Re: Tablist Headers Help - by [XST]O_x - 10.10.2015, 12:00

Forum Jump:


Users browsing this thread: 1 Guest(s)