TextdrawSetString Timer Problem
#1

I am making a timer that counts down from 10 to 0 every minutes it goes down one.

Heres my code

Код:
new Float:time;
new string[40];
format(string, 40, "Minutes Left: %f",time-1);
TextDrawSetString(Textdraw0, string);
And it compiles fine. but on the server in a minute it says minutes left: -1.000000

I think i need to make it so it knows that the float starts at 10.
How can i do that?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)