How to make timer showing as textdraw? - 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: How to make timer showing as textdraw? (
/showthread.php?tid=293634)
How to make timer showing as textdraw? -
the_zande - 29.10.2011
Okay guys I have problem! problem is that; I have created a timer and it works fine but it still needs to be visibleable :P and I think the textdraw is the best choise because gametext is too big for it :P any suggestions for it?
Re: How to make timer showing as textdraw? -
Tigerkiller - 29.10.2011
create a textdraw and a timer which called every second and verriables like
new minutes;
new seconds;
in your public make seconds--;
if(seconds <=0) return minutes-- & seconds+=60;
update textdraw
if(minutes == 0 && seconds == 0)
code if timer ends
sry but written with mobile phone
Re: How to make timer showing as textdraw? -
the_zande - 29.10.2011
but how I can do that textdraw which I have to update?
Re: How to make timer showing as textdraw? -
Stigg - 29.10.2011
https://sampwiki.blast.hk/wiki/TextDrawCreate
https://sampwiki.blast.hk/wiki/TextDrawSetString
Re: How to make timer showing as textdraw? -
Tigerkiller - 30.10.2011
Quote:
Originally Posted by Stigg
|
Righ.
Create your Textdraw and we can help you by setting the Timer and counting.