I want to make a loop when key pressed and show dynamic text on screen.
3@ = 18 -> 18 (time)
0ACD: show_text_highpriority 3@ time 1500 -> Countdown
WAIT 1000 -> wait 1s
3@ -= 1 -> -1 time
and again, but show 18/17/16... without key (2@ == TRUE)
how to make it?
Hi,
I'm starting with CLEO and I have some question / problem.
How to make timer with countdown on screen?
I tried something like this, but it probably does not work:
{$CLEO .cs}
0000: NOP
//-------------MAIN---------------
:1
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
:2
WHILE TRUE
...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.