15.12.2010, 10:47
pawn Код:
new Text:TextHoras;
////////////////////////////////////////////////////////////
TextHoras = TextDrawCreate(548.000000,23.000000," ");
TextDrawAlignment(TextHoras,0);
TextDrawBackgroundColor(TextHoras,0xFFFFFFff);
TextDrawFont(TextHoras,3);
TextDrawLetterSize(TextHoras,0.599999,1.700000);
TextDrawColor(TextHoras,0x000000ff);
TextDrawSetOutline(TextHoras,1);
TextDrawSetProportional(TextHoras,1);
TextDrawSetShadow(TextHoras,1);
////////////////////////////////////////////////////////////
format(string,50,"%02d:%02d",hour,minute);
TextDrawSetString(TextHoras,string);
////////////////////////////////////////////////////////////
TextDrawShowForPlayer(playerid, TextHoras);