07.07.2013, 20:22
There's no need for an include as long as you don't want to know the time. If you just need the date, all you need to do is:
Then save those values in your player's saving system.
Then after a player logs in do something like this:
pawn Код:
new year, month, day;
getdate(year, month, day);
Then after a player logs in do something like this:
pawn Код:
new string[64];
format(string, sizeof(string), "You last logged in on: %i/%i/%i", month, day, year); // Change month, day, and year to the variables you saved the values to.
SendClientMessage(playerid, -1, string);