[HELP] Color + MapIcon Problem [HELP]
#7

Assign a variabele to the timers, like so:

pawn Код:
new FlashColor[2];
forward StopFlash(playerid);

FlashColor[0] = SetTimerEx();
FlashColor[1] = SetTimerEx();

public StopFlash(playerid);
{
  for(new i = 0; i <= sizeof(FlashColor); i++)
  {
    KillTimer(FlashColor[i]);
  }
  SetPlayerColor(playerid, default);
  return 1;
}

Reply


Messages In This Thread
[HELP] Color + MapIcon Problem [HELP] - by gtalover12 - 09.03.2009, 18:09
Re: [HELP] Color + MapIcon Problem [HELP] - by MPKaboose - 09.03.2009, 18:14
Re: [HELP] Color + MapIcon Problem [HELP] - by gtalover12 - 09.03.2009, 18:22
Re: [HELP] Color + MapIcon Problem [HELP] - by MPKaboose - 09.03.2009, 18:26
Re: [HELP] Color + MapIcon Problem [HELP] - by gtalover12 - 09.03.2009, 19:23
Re: [HELP] Color + MapIcon Problem [HELP] - by boelie - 02.07.2009, 09:09
Re: [HELP] Color + MapIcon Problem [HELP] - by Vince - 02.07.2009, 09:16
Re: [HELP] Color + MapIcon Problem [HELP] - by boelie - 02.07.2009, 09:17
Re: [HELP] Color + MapIcon Problem [HELP] - by saiberfun - 02.07.2009, 10:50

Forum Jump:


Users browsing this thread: 3 Guest(s)