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