28.07.2012, 11:57
Are you able to put 2 countdown timers in one script cause mine is sure not letting me. If so could i get an example :
How could i make another the same, but make it as a second timer that happens Via command
Код:
new time = 61;
new timer1;
forward timer();
public timer()
{
new string[128];
if(time > 0)
{
time--;
format(string, sizeof(string), "~r~%d", time - 0);
}
else
{
new playerid;
time = 61;
format(string, sizeof(string), "~r~GAME OVER");
KillTimer(timer1);
SetPlayerHealth(playerid, 0);
}
GameTextForAll(string, 1000, 4);
return 1;
}

