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;}
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;}