19.02.2014, 14:59
You need to define the timer you want to kill. This is the correct method I think.
pawn Код:
new endspawnTimer[MAX_PLAYERS];
pawn Код:
else if(FirstSpawn[playerid] == 1)
{
endspawnTimer[playerid] = SetTimerEx("EndSpawn", 10000, false, "i", playerid);
SendClientMessage(playerid,COLOR_RED,"[DarkyBot]You have 10 seconds anti spawn kill");
}
pawn Код:
KillTimer(endspawnTimer[playerid]);