public Inform()
{
//time
new hour,minute,second;
gettime(hour,minute,second);
new string[256];
new string2[256];
format(string, sizeof(string), "%02d:%02d", hour, minute);
//date
new day,month,year;
getdate(year,month,day);
format(string2, sizeof(string2), "%02d.%02d.%d",day,month,year);
SetWorldTime( hour );
for(new i=0;i<MAX_PLAYERS;i++)
{
TextDrawSetString(Clock,string);
TextDrawSetString(Date,string2);
TextDrawShowForPlayer(i,Clock);
TextDrawShowForPlayer(i,Date);
}
return 1;
}