04.09.2016, 19:07
I'm in need of help, i would like a command that returns the last time a player logged in as following
/lastlogged [playerid]
output :
[server] X has logged in %d days, % hours, and % minutes ago.
CMD:lastlogged(playerid, params[])
{
return 1;
}
I have made a column in my player database called LastLogged, which is TIMESTAMP(Onupdate CurrentTimestamp)
/lastlogged [playerid]
output :
[server] X has logged in %d days, % hours, and % minutes ago.
CMD:lastlogged(playerid, params[])
{
return 1;
}
I have made a column in my player database called LastLogged, which is TIMESTAMP(Onupdate CurrentTimestamp)