SA-MP Forums Archive
Reading a timer - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Reading a timer (/showthread.php?tid=166517)



Reading a timer - (.Aztec); - 08.08.2010

How would I go about figuring out how long a timer is going for?

Example:

I start timer 1. (60,000 interval)
*30 seconds later*
/checktimer
[INFO] 59,970 seconds remaining.

I'm thinking it has something to do with TickCount, but i'm probably wrong.