08.06.2010, 11:17
Okay, so its my first time using the getdate and gettime function.
First heres my code :
and heres what writes down on the ini :
I know I'm scripting it wrongly xD so help!
Thanks.
FIXED!
First heres my code :
pawn Код:
new year, month, day, hour, minute, seconds;
format(string, sizeof(string), "Date : %d/%d/%d Time : Hour %d Time %d Seconds %d", getdate(year, month, day), gettime(hour, minute, seconds));
dini_Set(file, "Registered Date", string);
dini_Set(file, "Last On", string);
Код:
Registered Date=Date : 159/1275993401/1023410176 Time : Hour 61 Time 3997696 Seconds 724828160 Last On=Date : 159/1275993401/1023410176 Time : Hour 61 Time 3997696 Seconds 724828160
Thanks.
FIXED!