Ayuda HORA en textdraw
#1

Mi code de hora:
Код:
     new hour,minute,second;
	new string[256];
	gettime(hour,minute,second);
	if (minute <= 9){format(string,25,"%d:0%d",hour,minute);}
	else {format(string,25,"%d:%d",hour,minute);}
	TextDrawSetString(Clock,string);
quiero que la hora del textdraw sea 2 horas menos que la del servidor, pense en aсadir esto pero no funciono:


new hour,minute,second;
new string[256];
gettime(hour,minute,second);
if (minute <= 9){format(string,25,"%-2d:0%d",hour,minute);}
else {format(string,25,"%-2d:%d",hour,minute);}
TextDrawSetString(Clock,string)


Algun consejo
Reply


Messages In This Thread
Ayuda HORA en textdraw - by not - 02.05.2010, 14:22
Re: Ayuda HORA en textdraw - by Master[Pro] - 02.05.2010, 14:34
Re: Ayuda HORA en textdraw - by not - 02.05.2010, 14:47
Re: Ayuda HORA en textdraw - by not - 02.05.2010, 15:25
Re: Ayuda HORA en textdraw - by xenowort - 02.05.2010, 16:58
Re: Ayuda HORA en textdraw - by not - 02.05.2010, 19:02
Re: Ayuda HORA en textdraw - by Cesar_Biker - 02.05.2010, 20:03
Re: Ayuda HORA en textdraw - by Miguel - 02.05.2010, 20:14
Re: Ayuda HORA en textdraw - by not - 02.05.2010, 21:02
Re: Ayuda HORA en textdraw - by Carlos_Martinez - 02.05.2010, 22:12

Forum Jump:


Users browsing this thread: 1 Guest(s)