01.12.2018, 02:24
I changed some things, assuming the inserttime is 20, so the count should be like (20, 19, 18, 17, 16...), but not, the count still are uping (1, 2, 3,4) to the 20.
PHP код:
public Countdownregressive()
{
inserttime = inserttime - 1;
new string[240];
format(string, sizeof(string), "~y~Evento em: ~g~%d~y~ segundos", inserttime);
for(new i = 0; i < MAX_PLAYERS; i++)
GameTextForPlayer(i, string, 1000, 5);
return 1;
}