DateTime Login
#1

please tell us how to save the player's time of arrival

enum pInfo
{
pDateLogin,
pDateOut
}
new pl[MAX_PLAYERS][pInfo];

in the database created the cells of the format : DATETIME
Reply
#2

PHP код:
format(queryipsizeof(queryip), "UPDATE `accounts` SET `Ip` = '%s', `DateLogin` = NOW() WHERE `ID` = '%d'",pl[playerid][pIp],pl[playerid][pID]);
      
mysql_function_query(mysql_connect_IDqueryipfalse""""); 
closed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)