08.06.2010, 11:39
I've never used this function, but I think it's about this:
You need to store the variables "Year, Month, Day, Hour, Minute, Seconds" first, then insert them into the string.
so:
You need to store the variables "Year, Month, Day, Hour, Minute, Seconds" first, then insert them into the string.
so:
pawn Код:
new year, month, day, hour, minute, seconds;
getdate(year, month, day);
gettime(hour, minute, seconds);
format(string, sizeof(string), "Date : %d/%d/%d Time : Hour %d Time %d Seconds %d",year,month,day,hour,minute,seconds );
dini_Set(file, "Registered Date", string);
dini_Set(file, "Last On", string);

