- С нами с
- 21 Дек 2013
- Сообщения
- 2,748
- Реакции
- 343
- Баллы
- 0
Часы } new всем TextDrawBackgroundColor(Clock,0x000000F6); TextDrawSetOutline(Clock,1); string2[256]; глобальным { SetTimer("time", Clock=TextDrawCreate(549,24, TextDrawShowForPlayer(i,Date); TextDrawFont(Date,0); forward new конец i=0;i<MAX_PLAYERS;i++) TextDrawSetOutline(Date,1); true; TextDrawShowForPlayer(i,Clock); //====================== TextDrawColor(Date,0x00FF00AA); Date=TextDrawCreate(504,3, всем return но всё TextDrawColor(Clock,0xFFFF80AA); time() sizeof(string), getdate(year,month,day); работоспособный. hour, } format(string, TextDrawSetString(Clock,string); time(playerid); "%02d.%02d.%d",day,month,year); дата "00:00"); for(new Text:Clock; TextDrawSetString(Date,string2); new TextDrawLetterSize(Clock,0.55,2); Посмотреть вложение 41 string[256]; Ко new OnPlayerConnect(playerid) TextDrawShowForPlayer(playerid,Date); Код же, =========================================== format(string2, sizeof(string2), "%02d:%02d", SetWorldTime( OnGameModeInit forward public "23.02.1971"); { hour,minute,second; Ко true); public new day,month,year; В gettime(hour,minute,second); TextDrawFont(Clock,0); мода: ахти, В TextDrawShowForPlayer(playerid,Clock); new переменным: Text
ate; В 10000, TextDrawBackgroundColor(Date,0x000000F6); не public TextDrawLetterSize(Date,0.55,2); hour ); minute);