16.11.2014, 09:58
ok here
//put under onplayerdisconnect
INI_WriteInt(file, "pLastLoggedIn", TimeAndDate());
stock TimeAndDate ()
{
new year, month, day, hour, minute, sec, last[50];
getdate(year, month, day);
gettime(hour, minute, sec);
format(last, sizeof(last), "%d:%d:%d | %d/%d/%d", hour, minute, sec, day, month, year);
return last;
}
//------------------------------------------------------------
hope this help
//put under onplayerdisconnect
INI_WriteInt(file, "pLastLoggedIn", TimeAndDate());
stock TimeAndDate ()
{
new year, month, day, hour, minute, sec, last[50];
getdate(year, month, day);
gettime(hour, minute, sec);
format(last, sizeof(last), "%d:%d:%d | %d/%d/%d", hour, minute, sec, day, month, year);
return last;
}
//------------------------------------------------------------
hope this help