jeudi 14 juillet 2016

How to get timer current count?

yes.

You create a var for hold the timer initial time.

Code:

new timerInitTime;
timerInitTime = gettime();
SetTimerEx("yourfunc", 666666, true, "i", YourParam);
Then, to get the time :

Code:

timeCount = (gettime() - timerInitTime;
Notice that the time you get is in seconds.
You can multiply the result with 1000 to get the time in miliseconds.
__________________
If you don't know how to do that, this is a good chance for learn to.

Si no sabes como hacer eso, esta es una buena oportunidad para aprender.

This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at http://ift.tt/jcXqJW.
Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting.



How to get timer current count?

Aucun commentaire:

Enregistrer un commentaire