[FilterScript] [FS] CountDown System (With textDraw)
#12

Quote:
Originally Posted by [JIeXa
]
And version by me:
Код:
#include <a_samp>
new count,cTimer;
forward Count();
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (!strcmp("/countdown",cmdtext)) {
  	if (count == -1) {
		  count = 5;
		  cTimer = SetTimer("Count", 1000, 1);
	  } else SendClientMessage(playerid, 0x6FA7FB30, "* Its allready started! *");
		return 1;
	}
	return 0;
}
public Count() {
	if (count > 0) {
  	new string[80];
  	format(string, sizeof(string), "~w~- ~r~C~r~~h~o~r~u~r~~h~n~r~t~r~~h~D~r~o~r~~h~w~r~n ~w~- ~n~ _____%d", count);
  	GameTextForAll(string,1000,0);
	} else if(count == 0) GameTextForAll("Go! Go! Go!",1000,0);
	else KillTimer(cTimer);
	count--;
}
You use GameTextForAll i use Textdraw I think textdraw better

Quote:
Originally Posted by † мąүқоҳ™
Not bad, but text draw pwns.. So keep up the cool work.
Thank you
Reply


Messages In This Thread
[FS] CountDown System (With textDraw) - by RenisiL - 16.03.2010, 16:36
Re: [FS] CountDown System (With textDraw) - by Andy_McKinley - 16.03.2010, 16:50
Re: [FS] CountDown System (With textDraw) - by ThaYuriShit - 16.03.2010, 16:56
Re: [FS] CountDown System (With textDraw) - by mattym - 16.03.2010, 16:59
Re: [FS] CountDown System (With textDraw) - by RenisiL - 16.03.2010, 16:59
Re: [FS] CountDown System (With textDraw) - by AndryXoX - 16.03.2010, 17:16
Re: [FS] CountDown System (With textDraw) - by Pofka - 16.03.2010, 17:23
Re: [FS] CountDown System (With textDraw) - by Jeffry - 16.03.2010, 17:26
Re: [FS] CountDown System (With textDraw) - by [JIeXa] - 16.03.2010, 17:27
Re: [FS] CountDown System (With textDraw) - by RenisiL - 16.03.2010, 17:27
Re: [FS] CountDown System (With textDraw) - by MaykoX - 16.03.2010, 17:29
Re: [FS] CountDown System (With textDraw) - by RenisiL - 16.03.2010, 17:31
Re: [FS] CountDown System (With textDraw) - by [JIeXa] - 16.03.2010, 19:37
Re: [FS] CountDown System (With textDraw) - by Deat_Itself - 17.03.2010, 07:24
Re: [FS] CountDown System (With textDraw) - by Haji - 17.03.2010, 08:51
Re: [FS] CountDown System (With textDraw) - by [WF]Demon - 17.03.2010, 09:17
Re: [FS] CountDown System (With textDraw) - by [MWR]Blood - 17.03.2010, 10:55
Re: [FS] CountDown System (With textDraw) - by RenisiL - 17.03.2010, 12:17
Re: [FS] CountDown System (With textDraw) - by [WSM]Deadly_Evil - 17.03.2010, 14:34
Re: [FS] CountDown System (With textDraw) - by RenisiL - 17.03.2010, 17:09
Re: [FS] CountDown System (With textDraw) - by russo666 - 22.03.2010, 22:28
Re: [FS] CountDown System (With textDraw) - by RenisiL - 23.03.2010, 05:17
Re: [FS] CountDown System (With textDraw) - by Andy_McKinley - 26.03.2010, 18:27
Re: [FS] CountDown System (With textDraw) - by [MK]Soprano - 26.03.2010, 18:32
Re: [FS] CountDown System (With textDraw) - by Light554 - 03.04.2010, 09:32
Re: [FS] CountDown System (With textDraw) - by Hip-hop - 03.04.2010, 10:42
Re: [FS] CountDown System (With textDraw) - by BloodMaster - 11.04.2010, 16:34
Re: [FS] CountDown System (With textDraw) - by RenisiL - 12.04.2010, 12:52

Forum Jump:


Users browsing this thread: 5 Guest(s)