SA-MP Forums Archive
Timer time left - 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 time left (/showthread.php?tid=358054)



Timer time left - dasto_fantasto - 09.07.2012

Hello ,

After setting timer i want to show how much time left in timer ,but i can't find anything.
Can anyone help ?


Re: Timer time left - dasto_fantasto - 09.07.2012

and how to get time ? Time now like php time();
then i could make kint = time_now + 60 000;
thetime = kint - time_now;
thetime would be the result difference between now and time + 60000


Re: Timer time left - Vince - 09.07.2012

gettime() without parameters returns a unix timestamp like PHP's time().