Countdown
#7

Quote:

//=====================forwords
forward DMTimer(playerid);
//==============================[Others]========================================
new DMTime;
new dmtimer;
//================================================== ============================
public OnGameModeInit()
{
DMTime = 300; // change time that show in ur textdraw here i add 5 mints
//=============================[Timers]=========================================
dmtimer = SetTimer("DMTimer", 300, 1);
return 1;
}
//================================================== ============================
public DMTimer()
{
DMTime --;
new tmp[256];
format(tmp, sizeof tmp, "%s", TimeConvert(DMTime));
TextDrawSetString(Text:Time, tmp);
TextDrawShowForAll(Text:Time);
}
return 1;
}

working code 10/10
Reply


Messages In This Thread
Countdown - by Markx - 27.05.2011, 19:59
Re: Countdown - by Seven_of_Nine - 27.05.2011, 20:19
Re: Countdown - by Markx - 27.05.2011, 20:47
Re: Countdown - by Seven_of_Nine - 27.05.2011, 21:07
Re: Countdown - by BigETI - 27.05.2011, 21:27
Re: Countdown - by Markx - 28.05.2011, 08:44
Re: Countdown - by cs_master - 28.05.2011, 09:05
Re: Countdown - by BigETI - 28.05.2011, 10:28

Forum Jump:


Users browsing this thread: 6 Guest(s)