Help with a timer and save.
#2

pawn Код:
//under OnGameMode.....
SyncServer = SetTimerEx("SyncServer"...); Im guessing you now how to fill this in

forward SyncServer (playerid );
public SyncServer(playerid )
{

    PVar[playerid][pHours] ++;
    //InI_Write.... saves here
    return 1;
}
the only thing wrongis t repeat a timer you need to set a settimerex timer
Reply


Messages In This Thread
Help with a timer and save. - by Rocketeer - 02.08.2011, 03:36
Re: Help with a timer and save. - by PGTips - 02.08.2011, 03:41
Re: Help with a timer and save. - by Blacklite - 02.08.2011, 03:49
Re: Help with a timer and save. - by Rocketeer - 02.08.2011, 04:18
Re: Help with a timer and save. - by Rocketeer - 02.08.2011, 04:59

Forum Jump:


Users browsing this thread: 1 Guest(s)