23.12.2013, 03:29
pawn Код:
//Under OnGamemodeInt
SetTimer("FifteenMinuteTimer", 900000, true);
forward FifteenMinuteTimer();
public FifteenMinuteTimer()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
SaveStats(i);
}
}
}