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



Timer Problem. - Zaec - 07.02.2012

Hello,i have problem with timer.I want to do what in meesage will write timer time (minutes and seconds).
My code:


Код:
#define TIMER 1000*60*7
Код:
	new Timer[64];
	format(Timer,128,"timer time: %02d min %02d sec",TIMER);
	SendClientMessage(playerid,0x00a0deff,Timer);
If somebody knows how to do that please help.
P.S. Apologise for my bad english


Re: Timer Problem. - Zaec - 07.02.2012

Please anybody?


Re: Timer Problem. - Twinki1993 - 07.02.2012

You mean like server running or something similiar to it?


Re: Timer Problem. - Zaec - 07.02.2012

Yes,when timer starts and when player write command like /timer he can see how much he have to wait untiul timer ends.