servertime
#1

PHP код:
    new str[128], str2[128], YearMonthDayHourMinuteSecond;
    
format(str2sizeof(str2), "*"COL_WHITE"|____________|%s @ %02d/%02d/%d %02d:%02d:%02d |__________________"PlayerName(playerid),DayMonthYearHourMinuteSecond); 

But in game it shows 00/00/0 00:00:00
Reply
#2

yeah, you have to get these values first with gettime and getdate.

gettime(Hour,Minute,Second); and getdate(Year,Month,Day);
Reply
#3

Thank you again
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)