SA-MP Forums Archive
[HELP]with killtimer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]with killtimer (/showthread.php?tid=121805)



[HELP]with killtimer - _ReloadeD_ - 18.01.2010

i have this:
Code:
if(strcmp(cmdtext, "/Start Drifting", true) == 0) {
	if(ModeTeam[playerid] != 1) return SendClientMessage(playerid,COLOR_RED, "аъд цшйк мщзч б RACING");
	SendClientMessage(playerid,COLOR_RED, "дъзмъд бгшйфийн");
  TimerA=SetTimerEx("AngleUpdate",200,true,"d",playerid);
  TimerB=SetTimerEx("AutoFix",500,true,"d",playerid);
  TimerC=SetTimerEx("CheckPlayerState",100,true,"d",playerid);
  LoadTextDraws(playerid);
  return 1;}
and this:
Code:
 if(strcmp(cmdtext, "/end Drifting", true) == 0) {
  	if(ModeTeam[playerid] != 1) return SendClientMessage(playerid,COLOR_RED, "аъд цшйк мщзч б RACING");
  KillTimer(TimerA);
	KillTimer(TimerB);
	KillTimer(TimerC);
  return 1;}
when i do the end drifting comman it's doesn't stop me anything