gettime()
#2

So you want it to print the time the player logged in?

Try this:
pawn Код:
new Hour, Minute, Second; //Top of the function
gettime(Hour, Minute, Second); //Top of the function
format(query, sizeof(query), "UPDATE players SET LastLogin = '%02d:%02d:%02d' WHERE Name = '%s' LIMIT 1",Hour, Minute, Second, Name[playerid]); //Paste this
This is currently untested.
Reply


Messages In This Thread
gettime() - by x96664 - 16.12.2013, 00:14
Re: gettime() - by Krakuski - 16.12.2013, 00:19
Re: gettime() - by x96664 - 16.12.2013, 00:24
Re: gettime() - by Chenko - 16.12.2013, 00:50
Re: gettime() - by x96664 - 16.12.2013, 12:52
Re: gettime() - by arakuta - 16.12.2013, 12:59
Re: gettime() - by Vince - 16.12.2013, 13:07

Forum Jump:


Users browsing this thread: 1 Guest(s)