Player last visited
#1

hi guys, i am using y_ini sytem , could someone tell me how to find when player has been last connected? , i know how to save money skin and more, but how to save a date?
Thanks
Reply
#2

You can get the year/month/date like this:
Код:
new
    Year[MAX_PLAYERS],
    Month[MAX_PLAYERS],
    Day[MAX_PLAYERS]
;

// OnPlayerDisconnect
getdate(Year[playerid], Month[playerid], Day[playerid]);
And then save Year, Month and Day just like money, skin etc.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)