saving data using a timer
#3

Make sure you set the timer to loop.

pawn Код:
public Savedata()
{
    SavePlayerData(playerid);
    SetTimerEx("Savedata", 120000, false, "i", playerid);
    return 1;
}

or

SetTimerEx("Savedata", 120000, true, "i", playerid);
Reply


Messages In This Thread
saving data using a timer - by Fernado Samuel - 27.03.2013, 23:20
Re: saving data using a timer - by Private200 - 27.03.2013, 23:26
Re: saving data using a timer - by Joshman543 - 28.03.2013, 00:15
Re: saving data using a timer - by TheArcher - 28.03.2013, 00:22
Re: saving data using a timer - by Fernado Samuel - 28.03.2013, 11:38
Re: saving data using a timer - by TheArcher - 28.03.2013, 11:40
Re: saving data using a timer - by Fernado Samuel - 28.03.2013, 11:42
Re: saving data using a timer - by Patrick - 28.03.2013, 11:44
Re: saving data using a timer - by TheArcher - 28.03.2013, 11:49
Re: saving data using a timer - by Fernado Samuel - 28.03.2013, 11:53

Forum Jump:


Users browsing this thread: 3 Guest(s)