Timer help - 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: Timer help (
/showthread.php?tid=387499)
Timer help -
-=Dar[K]Lord=- - 25.10.2012
Guys I need some help about the timer...
I dont want SetTimer ... i actually mean the counter like 00:01 , 00:02 and so on.... And i want it in label system so that we can see it... thus i created it but the label is not showing up. Can You Please Help me ...
If the Label is not showing up i cannot check wether the timer is working or not.
Please Help me guys .
Re: Timer help -
dr.lozer - 25.10.2012
didn't understand what you said :P
Re: Timer help -
-=Dar[K]Lord=- - 25.10.2012
man i mean to say the normal time.
like :
when i type the command /start
it will count like this :
00:01
00:02
00:03
00:04
and so on
i want a stopwatch or anything u can say ...like that
Re: Timer help -
dr.lozer - 25.10.2012
Show the Code :P
Re: Timer help -
[TMS]Legena - 18.01.2014
You can do it with SetTimer but through textdraws and it will be showed in game. You mean on it?
Re: Timer help -
EmilLykke - 18.01.2014
I know what you mean.
Use:
pawn Код:
new timer = 1000*SECONDS;
SetTimerEx("TIMER", timer, false, "i", playerid);
If you use SetTimer it will set the timer for everybody, and I am pretty sure you don't want that to happen.
Re: Timer help -
MahdiGames - 18.01.2014
Quote:
Originally Posted by ******
I'm not sure why you don't want to use SetTimer - what's wrong with it, it seems like the perfect tool for the job here.
|
I think many of these Timers may lag server So better to use SetTimerEX