How to make timer showing as textdraw?
#1

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?
Reply
#2

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
Reply
#3

but how I can do that textdraw which I have to update?
Reply
#4

https://sampwiki.blast.hk/wiki/TextDrawCreate
https://sampwiki.blast.hk/wiki/TextDrawSetString
Reply
#5

Righ.
Create your Textdraw and we can help you by setting the Timer and counting.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)