KillTimer with SetTimerEx
#2

I thought KillTimer also works for SetTimerEx...

But, you can also try something like this:

pawn Код:
new bool:pointing[MAX_PLAYERS];
new Points[MAX_PLAYERS];

SetTimer("UpdatePoints", 30000, 1);

public UpdatePoints()
{
  for (new i=0; i<GetMaxPlayers(); i++)
  {
    if (pointing[i]) Points[i]++;
  }
}
Set "pointing[playerid]" true if you want players to get 5 ponits every 5 minutes
Reply


Messages In This Thread
KillTimer with SetTimerEx - by Mikep - 09.03.2009, 15:15
Re: KillTimer with SetTimerEx - by lesley - 09.03.2009, 15:19
Re: KillTimer with SetTimerEx - by Dujma - 09.03.2009, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)