how to add a countdown with mins and secs
#1

I mean when im adding the countdown , i already have all the td , the problem is

Example :

pawn Код:
mins = 10;
    secs = 59;
    SetTimer("timeandmap", 6000, true);

public timeandmap()
{
    new newtext[500];
    secs = secs - 1;
    format(newtext, sizeof(newtext), "~r~Time Remaining~n~ ~n~ ~n~ ~w~ %d:%d", mins, secs);
    TextDrawSetString(countd, newtext);
    TextDrawShowForAll(countd);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)