TextdrawSetString Timer Problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: TextdrawSetString Timer Problem (
/showthread.php?tid=144355)
TextdrawSetString Timer Problem -
Typical_Cat - 26.04.2010
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?