SA-MP Forums Archive
updating textdraw[countdown] - 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)
+--- Thread: updating textdraw[countdown] (/showthread.php?tid=371212)



updating textdraw[countdown] - thefatshizms - 22.08.2012

Ok, i have a textdraw with the number '12' (textdraw) now i want that to count down to 0 i have the timer set up but im unsure on what to do now :/
pawn Код:
SetTimer("robbery", 12000, false);

robbery = TextDrawCreate(311.000000, 190.000000, "Attempting robbery~n~~b~12~n~~r~Stay in the checkpoint");
        TextDrawAlignment(robbery, 2);
        TextDrawBackgroundColor(robbery, 255);
        TextDrawFont(robbery, 2);
        TextDrawLetterSize(robbery, 0.789999, 4.699997);
        TextDrawColor(robbery, -1);
        TextDrawSetOutline(robbery, 1);
        TextDrawSetProportional(robbery, 1);