26.04.2010, 21:15
I am making a timer that counts down from 10 to 0 every minutes it goes down one.
Heres my code
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?
Heres my code
Код:
new Float:time; new string[40]; format(string, 40, "Minutes Left: %f",time-1); TextDrawSetString(Textdraw0, string);
I think i need to make it so it knows that the float starts at 10.
How can i do that?