Autosave stats
#2

pawn Код:
forward Autosave();

SetTimer("Autosave",600000,true); //600 seconds = 600000ms, true = repeating timer

public Autosave()
{
    for(new i=0; i<=MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i)) SavePlayer(i);
    }
               return 1;
}
Reply


Messages In This Thread
Autosave stats - by Face9000 - 06.12.2010, 12:22
Re: Autosave stats - by Rachael - 06.12.2010, 12:27
Re: Autosave stats - by rjjj - 06.12.2010, 12:31
Re: Autosave stats - by Face9000 - 06.12.2010, 12:32
Re: Autosave stats - by umast97thebest - 31.12.2010, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)