Always Night?
#5

Does It Have to do with the clock because the code is
Код:
public CLOCK_EverySecondTimer()
{
	CLOCK_minute++;
	if(CLOCK_minute == 24)
	{
		CLOCK_minute = 24;
		CLOCK_hour++;
		SetWorldTime(24);
	}
	if(CLOCK_hour == 24)
	{
		CLOCK_hour = 24;
	}
	new clockstr[32];
	format(clockstr,sizeof(clockstr),"%02d:%02d",CLOCK_hour,CLOCK_minute);
	TextDrawSetString(Clock, clockstr);
}

stock GetHour()
{
	return CLOCK_hour;
}

stock Minute()
{
	return CLOCK_minute;
}
Reply


Messages In This Thread
Always Night? - by JustinB - 20.04.2010, 00:38
Re: Always Night? - by cessil - 20.04.2010, 00:46
Re: Always Night? - by JustinB - 20.04.2010, 00:48
Re: Always Night? - by Calgon - 20.04.2010, 00:50
Re: Always Night? - by JustinB - 20.04.2010, 00:57
Re: Always Night? - by cessil - 20.04.2010, 01:28
Re: Always Night? - by JustinB - 20.04.2010, 01:41
Re: Always Night? - by Calgon - 20.04.2010, 01:50

Forum Jump:


Users browsing this thread: 1 Guest(s)