For best scripters
#3

Quote:
Originally Posted by Kaperstone
Посмотреть сообщение
(3600 + 3 * 60 + 16) + gettime()) = your unix timestamp.
Can you enter it here?
Quote:

new string[256],year,month,day,hours,minutes,seconds;
getdate(year, month, day), gettime(hours, minutes, seconds);
format(string, sizeof string, "%d/%s%d/%s%d", day, ((month < 10) ? ("0") : ("")), month, (year < 10) ? ("0") : (""), year);
TextDrawSetString(Date, string);
format(string, sizeof string, "%s%d:%s%d:%s%d", (hours < 10) ? ("0") : (""), hours, (minutes < 10) ? ("0") : (""), minutes, (seconds < 10) ? ("0") : (""), seconds);
TextDrawSetString(Time, string);

Reply


Messages In This Thread
For best scripters - by Kraeror - 22.07.2017, 19:00
Re: For best scripters - by Kaperstone - 22.07.2017, 19:06
Re: For best scripters - by Kraeror - 22.07.2017, 19:35
Re: For best scripters - by Vince - 22.07.2017, 19:44
Re: For best scripters - by Kraeror - 22.07.2017, 19:46
Re: For best scripters - by Kaperstone - 22.07.2017, 20:20
Re: For best scripters - by Paulice - 22.07.2017, 21:08
Re: For best scripters - by Kaperstone - 22.07.2017, 22:53
Re: For best scripters - by Paulice - 22.07.2017, 23:00
Re: For best scripters - by Kraeror - 23.07.2017, 08:58

Forum Jump:


Users browsing this thread: 2 Guest(s)