timer
#2

pawn Код:
forward Resetter();
public OnFilterScriptInit()
{
  SetTimer("Resetter", 120000 /*2 minutes*/, 0);
  return 1;
}
public Resetter()
{
  for (new i=0; i<MAX_PLAYERS; ++i)
  {
    if (IsPlayerConnected(i))
      ifplayerenterhf[playerid] = 0;
  }
}
Reply


Messages In This Thread
timer - by sggassasin - 06.12.2009, 08:33
Re: timer - by Streetplaya - 06.12.2009, 08:36

Forum Jump:


Users browsing this thread: 3 Guest(s)