Server Restart = Lose Stats
#4

Like:
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
                new INI:File = INI_Open(UserPath(i));
                INI_SetTag(File,"data");
                INI_WriteInt(File,"Cash",GetPlayerMoney(i));
            INI_WriteInt(File,"Score",GetPlayerScore(i));
                INI_WriteInt(File,"Admin",PlayerInfo[i][pAdmin]);
                INI_WriteInt(File,"Kills",PlayerInfo[i][pKills]);
                INI_WriteInt(File,"Deaths",PlayerInfo[i][pDeaths]);
                INI_Close(File);
            }
       }
?
This will work?
Reply


Messages In This Thread
Server Restart = Lose Stats - by Admigo - 12.09.2012, 19:18
Re: Server Restart = Lose Stats - by HairStyle - 12.09.2012, 19:28
Re: Server Restart = Lose Stats - by sniperwars - 12.09.2012, 19:31
Re: Server Restart = Lose Stats - by Admigo - 12.09.2012, 19:32
Re: Server Restart = Lose Stats - by trapstar2020 - 12.09.2012, 19:33
Re: Server Restart = Lose Stats - by HairStyle - 12.09.2012, 19:34
Re: Server Restart = Lose Stats - by sniperwars - 12.09.2012, 19:35
Re: Server Restart = Lose Stats - by antonio112 - 12.09.2012, 19:38
Re: Server Restart = Lose Stats - by Admigo - 12.09.2012, 19:44
Re: Server Restart = Lose Stats - by DaRealShazz - 12.09.2012, 19:46

Forum Jump:


Users browsing this thread: 1 Guest(s)