13.02.2010, 07:21
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
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;
}