17.04.2011, 13:00
Quote:
So yeah, i want a quick method to save and load and check the , for example, kills, deaths and online time.
To make a top of players, let's say, top 15. I want to save them into a file and received data, can i possibly see a quick method of this? I don't have an exact idea how to store the name and the value for later to get them. |
pawn Код:
for(new i; i < 15; i++)
{
if(TopPlayers[i] == 0)//YOUR VAR
{
format(string,sizeof(string),"%d. None yet",i + 1);
}
else
{
format(string,sizeof(string),"STATS_STRING",i + 1,PLAYER_NAME,STATS);//BLAH BLAH
}
SendClientMessage(playerid,COLOUR,string);
}