Top list.
#9

Quote:
Originally Posted by Zh3r0
Посмотреть сообщение
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.
Try something like.
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);
    }
Reply


Messages In This Thread
Top list. - by Zh3r0 - 16.04.2011, 20:26
Re: Top list. - by BizzyD - 16.04.2011, 21:02
Re: Top list. - by Zh3r0 - 16.04.2011, 21:03
Re: Top list. - by Jefff - 16.04.2011, 21:23
Re: Top list. - by Zh3r0 - 16.04.2011, 21:25
Re: Top list. - by BizzyD - 17.04.2011, 10:58
Re: Top list. - by Zh3r0 - 17.04.2011, 12:08
Re: Top list. - by linuxthefish - 17.04.2011, 12:34
Re: Top list. - by Stigg - 17.04.2011, 13:00
Re: Top list. - by Calgon - 17.04.2011, 13:23

Forum Jump:


Users browsing this thread: 1 Guest(s)