A timer question :|
#4

You mean the id of the timer.
You only need to have the id of a timer if you plan to kill it.
(If your using a looping timer (settimer("function",time,true)), then you def need the id.)

Quite often if its player related then you can just use one per player.
ex
new mytimers[MAX_PLAYERS];

then

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
  mytimers[playerid] = SetTimer(....);
  return 1;
}
Reply


Messages In This Thread
A timer question :| - by [Bm]rap45 - 13.02.2010, 06:30
Re: A timer question :| - by [HiC]TheKiller - 13.02.2010, 06:36
Re: A timer question :| - by [Bm]rap45 - 13.02.2010, 06:53
Re: A timer question :| - by mansonh - 13.02.2010, 07:21
Re: A timer question :| - by [Bm]rap45 - 13.02.2010, 07:24
Re: A timer question :| - by mansonh - 13.02.2010, 07:34
Re: A timer question :| - by [Bm]rap45 - 13.02.2010, 07:41
Re: A timer question :| - by mansonh - 13.02.2010, 07:43
Re: A timer question :| - by [HiC]TheKiller - 13.02.2010, 08:50
Re: A timer question :| - by [Bm]rap45 - 13.02.2010, 09:07

Forum Jump:


Users browsing this thread: 1 Guest(s)