Ayuda HORA en textdraw
#9

Quote:
Originally Posted by Cesar_Biker
Prueba en vez de:
Quote:

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)

A esto:
Quote:

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

MUCHAS GRACIAS PERO NO ME SIRVIO!! funciona en mi pc pero cuando lo subo nada me pone -1 de ora :S

PD: Gracias ati tambien SAWC intentare con tu manera
PD2: Como poneis el pawn code? [pwn][/pwn] ?? ami no me sirve
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)